Class 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 a ConversionException with the given error message.
      ConversionException​(java.lang.String pMessage, java.lang.Throwable pCause)
      Creates a ConversionException with the given message and cause.
      ConversionException​(java.lang.Throwable pCause)
      Creates a ConversionException 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConversionException

        public ConversionException​(java.lang.String pMessage)
        Creates a ConversionException with the given error message.
        Parameters:
        pMessage - the error message
      • ConversionException

        public ConversionException​(java.lang.Throwable pCause)
        Creates a ConversionException with the given cause.
        Parameters:
        pCause - The Throwable that caused this exception
      • ConversionException

        public ConversionException​(java.lang.String pMessage,
                                   java.lang.Throwable pCause)
        Creates a ConversionException with the given message and cause.
        Parameters:
        pMessage - the error message
        pCause - The Throwable that caused this exception