Package org.apache.commons.beanutils
Class ConversionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.commons.beanutils.ConversionException
-
- All Implemented Interfaces:
java.io.Serializable
public class ConversionException extends java.lang.RuntimeExceptionA ConversionException indicates that a call to
Converter.convert()has failed to complete successfully.- Since:
- 1.3
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.ThrowablecauseDeprecated.UseThrowable.getCause()}.private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description ConversionException(java.lang.String message)Constructs a new exception with the specified message.ConversionException(java.lang.String message, java.lang.Throwable cause)Constructs a new exception with the specified message and root cause.ConversionException(java.lang.Throwable cause)Constructs a new exception with the specified root cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
cause
@Deprecated protected java.lang.Throwable cause
Deprecated.UseThrowable.getCause()}.The cause, deprecated.
-
-
Constructor Detail
-
ConversionException
public ConversionException(java.lang.String message)
Constructs a new exception with the specified message.- Parameters:
message- The message describing this exception
-
ConversionException
public ConversionException(java.lang.String message, java.lang.Throwable cause)Constructs a new exception with the specified message and root cause.- Parameters:
message- The message describing this exceptioncause- The root cause of this exception
-
ConversionException
public ConversionException(java.lang.Throwable cause)
Constructs a new exception with the specified root cause.- Parameters:
cause- The root cause of this exception
-
-