Class 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:
  • Constructor Details

    • 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