Class IdAuthenticationBaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.mosip.kernel.core.exception.BaseCheckedException
io.mosip.authentication.core.exception.IdAuthenticationBaseException
- All Implemented Interfaces:
ObjectWithMetadata,Serializable
- Direct Known Subclasses:
IdAuthenticationAppException,IdAuthenticationBusinessException,IdAuthenticationDaoException,RetryingBeforeRetryIntervalException
public class IdAuthenticationBaseException
extends io.mosip.kernel.core.exception.BaseCheckedException
implements ObjectWithMetadata
The base exception for all checked exceptions used in ID Authentication
- Author:
- Loganathan Sekar
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIdAuthenticationBaseException(IdAuthenticationErrorConstants exceptionConstant) Constructs exception for the givenIdAuthenticationErrorConstants.IdAuthenticationBaseException(IdAuthenticationErrorConstants exceptionConstant, Throwable rootCause) Constructs exception for the givenIdAuthenticationErrorConstantsandThrowable.IdAuthenticationBaseException(String errorMessage) IdAuthenticationBaseException(String errorCode, String errorMessage) IdAuthenticationBaseException(String errorCode, String errorMessage, Throwable rootCause) -
Method Summary
Modifier and TypeMethodDescriptionGets the metadata.voidsetMetadata(Map<String, Object> metadata) Sets the metadata.Methods 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
-
IdAuthenticationBaseException
public IdAuthenticationBaseException() -
IdAuthenticationBaseException
-
IdAuthenticationBaseException
-
IdAuthenticationBaseException
-
IdAuthenticationBaseException
Constructs exception for the givenIdAuthenticationErrorConstants.- Parameters:
exceptionConstant- the exception constant- See Also:
-
IdAuthenticationBaseException
public IdAuthenticationBaseException(IdAuthenticationErrorConstants exceptionConstant, Throwable rootCause) Constructs exception for the givenIdAuthenticationErrorConstantsandThrowable.- Parameters:
exceptionConstant- the exception constantrootCause- the root cause- See Also:
-
-
Method Details
-
getActionMessage
-
setMetadata
Description copied from interface:ObjectWithMetadataSets the metadata.- Specified by:
setMetadatain interfaceObjectWithMetadata- Parameters:
metadata- the metadata
-
getMetadata
Description copied from interface:ObjectWithMetadataGets the metadata.- Specified by:
getMetadatain interfaceObjectWithMetadata- Returns:
- the metadata
-