org.axonframework.serializer
Class UnknownSerializedTypeException

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.serializer.UnknownSerializedTypeException
All Implemented Interfaces:
Serializable

public class UnknownSerializedTypeException
extends AxonNonTransientException

Exception indicating that an object could not be deserialized, because its serialized type cannot be mapped to a class.

Since:
2.0
Author:
Allard Buijze
See Also:
Serialized Form

Constructor Summary
UnknownSerializedTypeException(SerializedType serializedType)
          Initialize the constructor with a default message, containing details of the given serializedType
UnknownSerializedTypeException(SerializedType serializedType, Throwable cause)
          Initialize the constructor with a default message, containing details of the given serializedType
 
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

UnknownSerializedTypeException

public UnknownSerializedTypeException(SerializedType serializedType)
Initialize the constructor with a default message, containing details of the given serializedType

Parameters:
serializedType - The serialized type of the object being deserialized

UnknownSerializedTypeException

public UnknownSerializedTypeException(SerializedType serializedType,
                                      Throwable cause)
Initialize the constructor with a default message, containing details of the given serializedType

Parameters:
serializedType - The serialized type of the object being deserialized
cause - The cause of this exception


Copyright © 2010-2016. All Rights Reserved.