Class AuthenticationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.mosip.kernel.core.exception.BaseCheckedException
io.mosip.authentication.core.exception.IdAuthenticationBaseException
io.mosip.authentication.core.exception.IdAuthenticationBusinessException
io.mosip.authentication.core.exception.AuthenticationFailedException
- All Implemented Interfaces:
ObjectWithMetadata,Serializable
The Class AuthenticationFailedException - Exception thrown when Authentication of user is failed.
- Author:
- Manoj SP
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new authentication failed exception.AuthenticationFailedException(IdAuthenticationErrorConstants exceptionConstant) Instantiates a new authentication failed exception.AuthenticationFailedException(IdAuthenticationErrorConstants exceptionConstant, Throwable rootCause) Instantiates a new authentication failed exception. -
Method Summary
Methods inherited from class io.mosip.authentication.core.exception.IdAuthenticationBaseException
getActionMessage, getMetadata, setMetadataMethods inherited from class io.mosip.kernel.core.exception.BaseCheckedException
addInfo, getCodes, getErrorCode, getErrorText, getErrorTexts, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.mosip.authentication.core.dto.ObjectWithMetadata
copyAllMetadaTo, copyMetadataTo, getMetadata, getMetadata, putAllMetadata, putMetadata
-
Constructor Details
-
AuthenticationFailedException
public AuthenticationFailedException()Instantiates a new authentication failed exception. -
AuthenticationFailedException
Instantiates a new authentication failed exception.- Parameters:
exceptionConstant- the exception constant
-
AuthenticationFailedException
public AuthenticationFailedException(IdAuthenticationErrorConstants exceptionConstant, Throwable rootCause) Instantiates a new authentication failed exception.- Parameters:
exceptionConstant- the exception constantrootCause- the root cause
-