org.axonframework.serializer
Class CannotConvertBetweenTypesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonNonTransientException
org.axonframework.common.AxonConfigurationException
org.axonframework.serializer.CannotConvertBetweenTypesException
- All Implemented Interfaces:
- Serializable
public class CannotConvertBetweenTypesException
- extends AxonConfigurationException
Exception indicating that a conversion is required between to upcasters, but there is no converter capable of doing
the conversion.
- Since:
- 2.0
- Author:
- Allard Buijze
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CannotConvertBetweenTypesException
public CannotConvertBetweenTypesException(String message)
- Initializes the exception with the given
message
.
- Parameters:
message
- The message describing the problem
CannotConvertBetweenTypesException
public CannotConvertBetweenTypesException(String message,
Throwable cause)
- Initializing the exception with given
message
and cause
.
- Parameters:
message
- The message describing the problemcause
- The original cause of the exception
Copyright © 2010-2016. All Rights Reserved.