Class AuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.alfresco.error.AlfrescoRuntimeException
org.alfresco.repo.security.authentication.AuthenticationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TicketExpiredException
Alfresco Authentication Exception and wrapper
- Author:
- andyh
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationException
(String msg, Object[] args) AuthenticationException
(String msg, Object[] args, Throwable cause) AuthenticationException
(String msg, Object[] args, AuthenticationDiagnostic diagnostic) Authentication ExceptionAuthenticationException
(String msg, Throwable cause) AuthenticationException
(String msg, AuthenticationDiagnostic diagnostic) Authentication ExceptionAuthenticationException
(String msg, AuthenticationDiagnostic diagnostic, Object[] args, Throwable cause) Authentication ExceptionAuthenticationException
(String msg, AuthenticationDiagnostic diagnostic, Throwable cause) Authentication Exception -
Method Summary
Modifier and TypeMethodDescriptionGet the authentication diagnosticMethods inherited from class org.alfresco.error.AlfrescoRuntimeException
create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthenticationException
-
AuthenticationException
-
AuthenticationException
-
AuthenticationException
-
AuthenticationException
Authentication Exception- Parameters:
msg
- human readable messagediagnostic
- diagnostic information about how the authentication succeeded/failed
-
AuthenticationException
Authentication Exception- Parameters:
msg
- human readable messagediagnostic
- diagnostic information about how the authentication succeeded/failed
-
AuthenticationException
Authentication Exception- Parameters:
msg
- key for human readable messagediagnostic
- diagnostic information about how the authentication succeeded/failedcause
- stack trace of the exception
-
AuthenticationException
public AuthenticationException(String msg, AuthenticationDiagnostic diagnostic, Object[] args, Throwable cause) Authentication Exception- Parameters:
msg
- key for human readable messagediagnostic
- diagnostic information about how the authentication succeeded/failedargs
- arguments for human readable messagecause
- stack trace of the exception
-
-
Method Details
-
getDiagnostic
Get the authentication diagnostic- Returns:
- the authentication diagnostic
-