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.IllegalArgumentExceptionThis 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 aConversionExceptionwith the given error message.ConversionException(java.lang.String pMessage, java.lang.Throwable pCause)Creates aConversionExceptionwith the given message and cause.ConversionException(java.lang.Throwable pCause)Creates aConversionExceptionwith the given cause.
-
-
-
Constructor Detail
-
ConversionException
public ConversionException(java.lang.String pMessage)
Creates aConversionExceptionwith the given error message.- Parameters:
pMessage- the error message
-
ConversionException
public ConversionException(java.lang.Throwable pCause)
Creates aConversionExceptionwith the given cause.- Parameters:
pCause- TheThrowablethat caused this exception
-
ConversionException
public ConversionException(java.lang.String pMessage, java.lang.Throwable pCause)Creates aConversionExceptionwith the given message and cause.- Parameters:
pMessage- the error messagepCause- TheThrowablethat caused this exception
-
-