Class ConversionUnsupportedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.gebit.integrity.parameter.conversion.ConversionException
-
- de.gebit.integrity.parameter.conversion.ConversionUnsupportedException
-
- All Implemented Interfaces:
Serializable
public class ConversionUnsupportedException extends ConversionException
Thrown if a certain requested conversion is not supported, because no matchingConversionwas found.- Author:
- Rene Schneider - initial API and implementation
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConversionUnsupportedException(Class<?> aSourceType, Class<?> aTargetType, String aMessage)Instantiates a new conversion unsupported exception.ConversionUnsupportedException(Class<?> aSourceType, Class<?> aTargetType, String aMessage, Throwable aCause)Instantiates a new conversion unsupported exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()-
Methods inherited from class de.gebit.integrity.parameter.conversion.ConversionException
getSourceType, getTargetType
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConversionUnsupportedException
public ConversionUnsupportedException(Class<?> aSourceType, Class<?> aTargetType, String aMessage, Throwable aCause)
Instantiates a new conversion unsupported exception.- Parameters:
aSourceType- the a source typeaTargetType- the a target typeaMessage- the a messageaCause- the a cause
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessagein classConversionException
-
-