org.axonframework.serializer
Class CannotConvertBetweenTypesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.axonframework.common.AxonException
                  extended by org.axonframework.common.AxonNonTransientException
                      extended by org.axonframework.common.AxonConfigurationException
                          extended by 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

Constructor Summary
CannotConvertBetweenTypesException(String message)
          Initializes the exception with the given message.
CannotConvertBetweenTypesException(String message, Throwable cause)
          Initializing the exception with given message and cause.
 
Method Summary
 
Methods inherited from class org.axonframework.common.AxonNonTransientException
isCauseOf
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

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 problem
cause - The original cause of the exception


Copyright © 2010-2016. All Rights Reserved.