Package dev.paseto.jpaseto
Class PrematurePasetoException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.paseto.jpaseto.PasetoException
-
- dev.paseto.jpaseto.ClaimPasetoException
-
- dev.paseto.jpaseto.PrematurePasetoException
-
- All Implemented Interfaces:
java.io.Serializable
public class PrematurePasetoException extends ClaimPasetoException
Exception indicating that a Paseto was accepted before it is allowed to be accessed and must be rejected.- Since:
- 0.1
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class dev.paseto.jpaseto.ClaimPasetoException
INCORRECT_EXPECTED_CLAIM_MESSAGE_TEMPLATE, MISSING_EXPECTED_CLAIM_MESSAGE_TEMPLATE
-
-
Constructor Summary
Constructors Constructor Description PrematurePasetoException(Paseto paseto, java.lang.String message)PrematurePasetoException(Paseto paseto, java.lang.String message, java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class dev.paseto.jpaseto.ClaimPasetoException
getPaseto
-
-
-
-
Constructor Detail
-
PrematurePasetoException
public PrematurePasetoException(Paseto paseto, java.lang.String message)
-
PrematurePasetoException
public PrematurePasetoException(Paseto paseto, java.lang.String message, java.lang.Throwable cause)
- Parameters:
paseto- tokenmessage- exception messagecause- cause
-
-