Class ConversionAppException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aquima.interactions.foundation.exception.AppException
-
- com.aquima.interactions.profile.xml.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 Summary
Constructors Constructor Description ConversionAppException​(ConversionException e)
Constructs the exception with the conversion exception that should be wrapped.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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.
-
-