com.twelvemonkeys.util.convert
Class ConversionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by com.twelvemonkeys.util.convert.ConversionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MissingTypeException, NoAvailableConverterException, TypeMismathException

public class ConversionException
extends 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 $
Author:
Harald Kuhr, last modified by $Author: haku $
See Also:
Serialized Form

Constructor Summary
ConversionException(String pMessage)
          Creates a ConversionException with the given error message.
ConversionException(String pMessage, Throwable pCause)
          Creates a ConversionException with the given message and cause.
ConversionException(Throwable pCause)
          Creates a ConversionException with the given cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConversionException

public ConversionException(String pMessage)
Creates a ConversionException with the given error message.

Parameters:
pMessage - the error message

ConversionException

public ConversionException(Throwable pCause)
Creates a ConversionException with the given cause.

Parameters:
pCause - The Throwable that caused this exception

ConversionException

public ConversionException(String pMessage,
                           Throwable pCause)
Creates a ConversionException with the given message and cause.

Parameters:
pMessage - the error message
pCause - The Throwable that caused this exception


Copyright © 2014. All Rights Reserved.