Class UnknownSerializedTypeException

  • All Implemented Interfaces:
    Serializable

    public class UnknownSerializedTypeException
    extends RuntimeException
    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 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