Package org.axonframework.conversion
Class ConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonNonTransientException
org.axonframework.conversion.ConversionException
- All Implemented Interfaces:
Serializable
Exception indicating that a conversion is required between two formats, but there is no converter capable of doing
the conversion.
- Since:
- 2.0.0
- Author:
- Allard Buijze
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConversionException(String message) Initializes the exception with the givenmessage.ConversionException(String message, Throwable cause) Initializing the exception with givenmessageandcause. -
Method Summary
Methods inherited from class org.axonframework.common.AxonNonTransientException
isCauseOfMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConversionException
Initializes the exception with the givenmessage.- Parameters:
message- The message describing the problem.
-
ConversionException
Initializing the exception with givenmessageandcause.- Parameters:
message- The message describing the problem.cause- The original cause of the exception.
-