Package de.xima.fc.exceptions
Class InvalidTokenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.xima.fc.exceptions.InvalidTokenException
-
- All Implemented Interfaces:
Serializable
public class InvalidTokenException extends Exception
Exception that is thrown when a token is invalid.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidTokenException(String message)
Creates a new invalid token exception with the given message.InvalidTokenException(String message, Throwable cause)
Creates a new invalid token exception with the given message and cause.InvalidTokenException(Throwable cause)
Creates a new invalid token exception with the given cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidTokenException
public InvalidTokenException(String message)
Creates a new invalid token exception with the given message.- Parameters:
message
- Message explaining the exception that occurred.
-
InvalidTokenException
public InvalidTokenException(String message, Throwable cause)
Creates a new invalid token exception with the given message and cause.- Parameters:
message
- Message explaining the exception that occurred.cause
- The underlying cause that resulted in this exception.
-
InvalidTokenException
public InvalidTokenException(Throwable cause)
Creates a new invalid token exception with the given cause.- Parameters:
cause
- The underlying cause that resulted in this exception.
-
-