Class IdAuthenticationDaoException
- 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.IdAuthenticationDaoException
-
- All Implemented Interfaces:
ObjectWithMetadata,Serializable
public class IdAuthenticationDaoException extends IdAuthenticationBaseException
The exception for ID Authentication which is always associated with an error code. This exception is thrown at DAO level, usually wrapped with root cause.- Author:
- Manoj SP
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdAuthenticationDaoException()Instantiates a new id authentication dao exception.IdAuthenticationDaoException(IdAuthenticationErrorConstants exceptionConstant)Constructs exception for the givenIdAuthenticationErrorConstants.IdAuthenticationDaoException(IdAuthenticationErrorConstants exceptionConstant, Throwable rootCause)Constructs exception for the givenIdAuthenticationErrorConstantsandThrowable.IdAuthenticationDaoException(String errorCode, String errorMessage)Constructs exception for the given error code and error message.IdAuthenticationDaoException(String errorCode, String errorMessage, Throwable cause)Constructs exception for the given error code, error message andThrowable.
-
Method Summary
-
Methods inherited from class io.mosip.authentication.core.exception.IdAuthenticationBaseException
getActionMessage, getMetadata, setMetadata
-
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
-
IdAuthenticationDaoException
public IdAuthenticationDaoException()
Instantiates a new id authentication dao exception.
-
IdAuthenticationDaoException
public IdAuthenticationDaoException(String errorCode, String errorMessage)
Constructs exception for the given error code and error message.- Parameters:
errorCode- the error codeerrorMessage- the error message- See Also:
BaseUncheckedException(String, String)
-
IdAuthenticationDaoException
public IdAuthenticationDaoException(String errorCode, String errorMessage, Throwable cause)
Constructs exception for the given error code, error message andThrowable.- Parameters:
errorCode- the error codeerrorMessage- the error messagecause- the cause- See Also:
BaseUncheckedException(String, String, Throwable)
-
IdAuthenticationDaoException
public IdAuthenticationDaoException(IdAuthenticationErrorConstants exceptionConstant)
Constructs exception for the givenIdAuthenticationErrorConstants.- Parameters:
exceptionConstant- the exception constant- See Also:
BaseUncheckedException(String, String)
-
IdAuthenticationDaoException
public IdAuthenticationDaoException(IdAuthenticationErrorConstants exceptionConstant, Throwable rootCause)
Constructs exception for the givenIdAuthenticationErrorConstantsandThrowable.- Parameters:
exceptionConstant- the exception constantrootCause- the root cause- See Also:
BaseUncheckedException(String, String, Throwable)
-
-