Package org.apache.juneau
Class InvalidDataConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.juneau.BasicRuntimeException
org.apache.juneau.InvalidDataConversionException
- All Implemented Interfaces:
- Serializable
General invalid conversion exception.
 
 Exception that gets thrown if you try to perform an invalid conversion, such as when calling
 JsonMap.getInt(...) on a non-numeric 
See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionInvalidDataConversionException(Object value, Class<?> toType, Exception cause) InvalidDataConversionException(Object value, ClassMeta<?> toType, Exception cause) InvalidDataConversionException(Throwable cause, String message, Object... args) Constructor.
- 
Method SummaryMethods inherited from class org.apache.juneau.BasicRuntimeExceptionassertModifiable, fillInStackTrace, getCause, getMessage, initCause, isUnmodifiable, setMessage, setStackTrace, setUnmodifiable, unwrapMethods inherited from class java.lang.ThrowableaddSuppressed, getCause, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, toString
- 
Constructor Details- 
InvalidDataConversionExceptionConstructor.- Parameters:
- cause- The cause of this exception.
- message- The- MessageFormat-style message.
- args- Optional- MessageFormat-style arguments.
 
- 
InvalidDataConversionException- Parameters:
- toType- Attempting to convert to this class type.
- cause- The cause.
- value- The value being converted.
 
- 
InvalidDataConversionException- Parameters:
- toType- Attempting to convert to this class type.
- cause- The cause.
- value- The value being converted.
 
 
-