Package org.forgerock.am.cts.exceptions
Class CoreTokenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.am.cts.exceptions.CoreTokenException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DeleteFailedException
public class CoreTokenException extends Exception
Base Core Token Service exception for all sub types. This base exception performs two key roles. First provides an umbrella exception for all CTS based exceptions to simplify the API design. Second, provides some automatic formatting of the message to make it more readable in log files.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CoreTokenException(String error)
CoreTokenException(String error, Throwable cause)
CoreTokenException(String error, Token token)
CoreTokenException(String error, Token token, Throwable 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
-
CoreTokenException
public CoreTokenException(String error)
-
-