Package dev.paseto.jpaseto
Class RequiredTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.paseto.jpaseto.PasetoException
-
- dev.paseto.jpaseto.RequiredTypeException
-
- All Implemented Interfaces:
java.io.Serializable
public class RequiredTypeException extends PasetoException
Exception thrown whenClaims.get(String, Class)is called and the value does not match the type of theClassargument.- Since:
- 0.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequiredTypeException(java.lang.String message)RequiredTypeException(java.lang.String message, java.lang.Throwable cause)
-