Package org.apereo.cas.authentication
Class RootCasException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apereo.cas.authentication.RootCasException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthenticationException,PreventedException
Generic CAS exception that sits at the top of the exception hierarchy. Provides
unified logic around retrieval and configuration of exception codes that may be
mapped inside an external resource bundle for internationalization of error messages.
- Since:
- 4.0.0
- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
withCode
With code.- Parameters:
code- the code- Returns:
- the root cas exception
-
getCode
If there is a chained exception it recursively callsgetCode()on the cause of the chained exception rather than the returning the code itself.- Returns:
- Returns the code.
-
getArgs
-