Class UnregisteredTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.jasminb.jsonapi.exceptions.UnregisteredTypeException
-
- All Implemented Interfaces:
Serializable
public class UnregisteredTypeException extends RuntimeException
UnregisteredTypeException implementation.
This exception is thrown when a 'type' is not registered with theResourceConverterand attempting to de-serialise JSON-API with an unregistered type.- Author:
- prawana-perera.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnregisteredTypeException(String type)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetType()Returns the unregistered type for which this exception is applicable to.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-