Class ConversionAppException

  • All Implemented Interfaces:
    Serializable

    public class ConversionAppException
    extends AppException

    Wrapper exception class for ConversionException. This wrapper is needed because ConversionException extends RuntimeException and therefore does not get send to the onException method of the delegate.

    The message, cause and stacktrace of the original ConversionException get used as the message, cause and stacktrace of this exception. For all intents and purposes, this exception becomes the original ConversionException except that it now extends AppException and may therefore be handled by the onException of the delegate.

    Since:
    7.1
    Author:
    C. de Meijer
    See Also:
    Serialized Form
    • Constructor Detail

      • ConversionAppException

        public ConversionAppException​(ConversionException e)
        Constructs the exception with the conversion exception that should be wrapped.
        Parameters:
        e - the conversion exception that should be wrapped.