Class ConversionFailedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConversionFailedException
    extends ConversionException
    Thrown if a certain requested conversion did fail for whatever reason.
    Author:
    Rene Schneider - initial API and implementation
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ConversionFailedException​(java.lang.Class<?> aSourceType, java.lang.Class<?> aTargetType, java.lang.String aMessage)
      Instantiates a new conversion unsupported exception.
      ConversionFailedException​(java.lang.Class<?> aSourceType, java.lang.Class<?> aTargetType, java.lang.String aMessage, java.lang.Throwable aCause)
      Instantiates a new conversion failed exception.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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

      • ConversionFailedException

        public ConversionFailedException​(java.lang.Class<?> aSourceType,
                                         java.lang.Class<?> aTargetType,
                                         java.lang.String aMessage,
                                         java.lang.Throwable aCause)
        Instantiates a new conversion failed exception.
        Parameters:
        aSourceType - the a source type
        aTargetType - the a target type
        aMessage - the a message
        aCause - the a cause
      • ConversionFailedException

        public ConversionFailedException​(java.lang.Class<?> aSourceType,
                                         java.lang.Class<?> aTargetType,
                                         java.lang.String aMessage)
        Instantiates a new conversion unsupported exception.
        Parameters:
        aSourceType - the a source type
        aTargetType - the a target type
        aMessage - the a message