Class UnregisteredTypeException

  • All Implemented Interfaces:
    Serializable

    public class UnregisteredTypeException
    extends RuntimeException
    UnregisteredTypeException implementation.
    This exception is thrown when a 'type' is not registered with the ResourceConverter and attempting to de-serialise JSON-API with an unregistered type.
    Author:
    prawana-perera.
    See Also:
    Serialized Form
    • Constructor Detail

      • UnregisteredTypeException

        public UnregisteredTypeException​(String type)
        Constructor.
        Parameters:
        type - The type that is not registered
    • Method Detail

      • getType

        public String getType()
        Returns the unregistered type for which this exception is applicable to.
        Returns: