Package dev.paseto.jpaseto
Class UnsupportedPasetoException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.paseto.jpaseto.PasetoException
-
- dev.paseto.jpaseto.UnsupportedPasetoException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnsupportedPasetoException extends PasetoException
Exception thrown when receiving a JWT in a particular format/configuration that does not match the format expected by the application.For example, this exception would be thrown if parsing a paseto token has a version that is not supported by this library.
- Since:
- 0.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsupportedPasetoException(java.lang.String message)UnsupportedPasetoException(java.lang.String message, java.lang.Throwable cause)
-