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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdAuthenticationBaseException()IdAuthenticationBaseException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActionMessage()Map<String,Object>getMetadata()Gets 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, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.mosip.authentication.core.dto.ObjectWithMetadata
copyAllMetadaTo, copyMetadataTo, getMetadata, getMetadata, putAllMetadata, putMetadata
-
-
-
-
Constructor Detail
-
IdAuthenticationBaseException
public IdAuthenticationBaseException()
-
IdAuthenticationBaseException
public IdAuthenticationBaseException(String errorMessage)
-
IdAuthenticationBaseException
public IdAuthenticationBaseException(String errorCode, String errorMessage)
-
IdAuthenticationBaseException
public IdAuthenticationBaseException(String errorCode, String errorMessage, Throwable rootCause)
-
IdAuthenticationBaseException
public IdAuthenticationBaseException(IdAuthenticationErrorConstants exceptionConstant)
Constructs exception for the givenIdAuthenticationErrorConstants.- Parameters:
exceptionConstant- the exception constant- See Also:
BaseUncheckedException(String, String)
-
IdAuthenticationBaseException
public IdAuthenticationBaseException(IdAuthenticationErrorConstants exceptionConstant, Throwable rootCause)
Constructs exception for the givenIdAuthenticationErrorConstantsandThrowable.- Parameters:
exceptionConstant- the exception constantrootCause- the root cause- See Also:
BaseUncheckedException(String, String, Throwable)
-
-
Method Detail
-
getActionMessage
public String getActionMessage()
-
setMetadata
public void setMetadata(Map<String,Object> metadata)
Description copied from interface:ObjectWithMetadataSets the metadata.- Specified by:
setMetadatain interfaceObjectWithMetadata- Parameters:
metadata- the metadata
-
getMetadata
public Map<String,Object> getMetadata()
Description copied from interface:ObjectWithMetadataGets the metadata.- Specified by:
getMetadatain interfaceObjectWithMetadata- Returns:
- the metadata
-
-