Package org.apache.commons.beanutils2
Class ConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.beanutils2.ConversionException
- All Implemented Interfaces:
 Serializable
A ConversionException indicates that a call to 
Converter.convert() has failed to complete successfully.- Since:
 - 1.3
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionConversionException(String message) Constructs a new exception with the specified message.ConversionException(String message, Throwable cause) Constructs a new exception with the specified message and root cause.ConversionException(Throwable cause) Constructs a new exception with the specified root cause. - 
Method Summary
Modifier and TypeMethodDescriptionstatic ConversionExceptionConstructs a new instance with a message formatted usingString.format(String, Object...).Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
ConversionException
Constructs a new exception with the specified message.- Parameters:
 message- The message describing this exception
 - 
ConversionException
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
Constructs a new exception with the specified root cause.- Parameters:
 cause- The root cause of this exception
 
 - 
 - 
Method Details
- 
format
Constructs a new instance with a message formatted usingString.format(String, Object...).- Parameters:
 format- SeeString.format(String, Object...).args- SeeString.format(String, Object...).- Returns:
 - a new instance with a message formatted using 
String.format(String, Object...). - Since:
 - 2.0.0
 
 
 -