Class TokenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.silverpeas.core.security.token.exception.TokenException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TokenValidationException
public class TokenException extends Exception
The exception for all normal errors occuring with the Token API and for which the client requires to perform a dedicated action.- Author:
- Yohann Chastagnier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TokenException()
Creates a new instance ofTokenException
without detail message.TokenException(String msg)
Constructs an instance ofTokenException
with the specified detail message.TokenException(String message, Throwable cause)
Constructs an instance ofTokenException
with the specified detail message and with the specified 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
-
TokenException
public TokenException()
Creates a new instance ofTokenException
without detail message.
-
TokenException
public TokenException(String msg)
Constructs an instance ofTokenException
with the specified detail message.- Parameters:
msg
- the detail message.
-
-