|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.commons.convert.ConversionException
public class ConversionException
ConversionException is used when a conversion has failed for some reason.
| Field Summary | |
|---|---|
protected Throwable |
cause
The root cause of this ConversionException, compatible with
JDK 1.4's extensions to java.lang.Throwable. |
| Constructor Summary | |
|---|---|
ConversionException(String message)
Construct a new exception with the specified message. |
|
ConversionException(String message,
Throwable cause)
Construct a new exception with the specified message and root cause. |
|
ConversionException(Throwable cause)
Construct a new exception with the specified root cause. |
|
| Method Summary | |
|---|---|
Throwable |
getCause()
Gets the root cause of the exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Throwable cause
ConversionException, compatible with
JDK 1.4's extensions to java.lang.Throwable.
| Constructor Detail |
|---|
public ConversionException(String message)
message - a message describing this exceptionpublic ConversionException(Throwable cause)
cause - the root cause of this exception
public ConversionException(String message,
Throwable cause)
message - a message describing this exceptioncause - the root cause of this exception| Method Detail |
|---|
public Throwable getCause()
getCause in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||