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:
java.io.Serializable
- Direct Known Subclasses:
MissingTypeException
,NoAvailableConverterException
,TypeMismathException
public class ConversionException extends java.lang.IllegalArgumentException
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 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConversionException(java.lang.String pMessage)
Creates aConversionException
with the given error message.ConversionException(java.lang.String pMessage, java.lang.Throwable pCause)
Creates aConversionException
with the given message and cause.ConversionException(java.lang.Throwable pCause)
Creates aConversionException
with the given cause.
-
-
-
Constructor Detail
-
ConversionException
public ConversionException(java.lang.String pMessage)
Creates aConversionException
with the given error message.- Parameters:
pMessage
- the error message
-
ConversionException
public ConversionException(java.lang.Throwable pCause)
Creates aConversionException
with the given cause.- Parameters:
pCause
- TheThrowable
that caused this exception
-
ConversionException
public ConversionException(java.lang.String pMessage, java.lang.Throwable pCause)
Creates aConversionException
with the given message and cause.- Parameters:
pMessage
- the error messagepCause
- TheThrowable
that caused this exception
-
-