Package africa.absa.inception.security
Class AuthenticationFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- africa.absa.inception.core.service.ServiceException
-
- africa.absa.inception.security.AuthenticationFailedException
-
- All Implemented Interfaces:
Serializable
public class AuthenticationFailedException extends africa.absa.inception.core.service.ServiceExceptionAn AuthenticationFailedException is thrown to indicate that a security operation failed as a result of an authentication failure.This is a checked exception to prevent the automatic rollback of the current transaction.
- Author:
- Marcus Portmann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationFailedException(String message)Constructs a new AuthenticationFailedException with the specified message.AuthenticationFailedException(String message, Throwable cause)Constructs a new AuthenticationFailedException with the specified message and cause.
-
Method Summary
-
Methods inherited from class africa.absa.inception.core.service.ServiceException
getFaultInfo, getTimestamp
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AuthenticationFailedException
public AuthenticationFailedException(String message)
Constructs a new AuthenticationFailedException with the specified message.- Parameters:
message- The message saved for later retrieval by the getMessage() method.
-
AuthenticationFailedException
public AuthenticationFailedException(String message, Throwable cause)
Constructs a new AuthenticationFailedException with the specified message and cause.- Parameters:
message- The message saved for later retrieval by the getMessage() method.cause- The cause saved for later retrieval by the getCause() method. (A null value is permitted if the cause is nonexistent or unknown)
-
-