org.axonframework.serializer
Class UnknownSerializedTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonNonTransientException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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 deserializedcause
- The cause of this exception
Copyright © 2010-2016. All Rights Reserved.