Class ConversionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.gebit.integrity.parameter.conversion.ConversionException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ConversionFailedException
,ConversionUnsupportedException
public abstract class ConversionException extends java.lang.RuntimeException
Base class for conversion-related exceptions.- Author:
- Rene Schneider - initial API and implementation
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConversionException(java.lang.Class<?> aSourceType, java.lang.Class<?> aTargetType, java.lang.String aMessage)
Instantiates a new conversion exception.ConversionException(java.lang.Class<?> aSourceType, java.lang.Class<?> aTargetType, java.lang.String aMessage, java.lang.Throwable aCause)
Instantiates a new conversion exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
java.lang.Class<?>
getSourceType()
java.lang.Class<?>
getTargetType()
-
-
-
Constructor Detail
-
ConversionException
public ConversionException(java.lang.Class<?> aSourceType, java.lang.Class<?> aTargetType, java.lang.String aMessage, java.lang.Throwable aCause)
Instantiates a new conversion exception.- Parameters:
aSourceType
- the a source typeaTargetType
- the a target typeaMessage
- the a messageaCause
- the a cause
-
ConversionException
public ConversionException(java.lang.Class<?> aSourceType, java.lang.Class<?> aTargetType, java.lang.String aMessage)
Instantiates a new conversion exception.- Parameters:
aSourceType
- the a source typeaTargetType
- the a target typeaMessage
- the a message
-
-