Package com.twelvemonkeys.util.convert
Class ConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.twelvemonkeys.util.convert.ConversionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MissingTypeException
,NoAvailableConverterException
,TypeMismathException
This exception may be thrown by PropertyConverters, when an attempted
conversion fails.
- Version:
- $Id: //depot/branches/personal/haraldk/twelvemonkeys/release-2/twelvemonkeys-core/src/main/java/com/twelvemonkeys/util/convert/ConversionException.java#1 $
- Author:
- Harald Kuhr, last modified by $Author: haku $
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConversionException
(String pMessage) Creates aConversionException
with the given error message.ConversionException
(String pMessage, Throwable pCause) Creates aConversionException
with the given message and cause.ConversionException
(Throwable pCause) Creates aConversionException
with the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConversionException
Creates aConversionException
with the given error message.- Parameters:
pMessage
- the error message
-
ConversionException
Creates aConversionException
with the given cause.- Parameters:
pCause
- TheThrowable
that caused this exception
-
ConversionException
Creates aConversionException
with the given message and cause.- Parameters:
pMessage
- the error messagepCause
- TheThrowable
that caused this exception
-