Package org.jeasy.props.api
Class TypeConversionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jeasy.props.api.TypeConversionException
-
- All Implemented Interfaces:
Serializable
public class TypeConversionException extends RuntimeException
Exception to signal a type conversion error.- See Also:
TypeConverter, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypeConversionException(String message)Create a newTypeConversionException.TypeConversionException(String message, Throwable cause)Create a newTypeConversionException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TypeConversionException
public TypeConversionException(String message)
Create a newTypeConversionException.- Parameters:
message- of the exception
-
TypeConversionException
public TypeConversionException(String message, Throwable cause)
Create a newTypeConversionException.- Parameters:
message- of the exceptioncause- of the exception
-
-