Class IDDataValidationException
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.IDDataValidationException
- All Implemented Interfaces:
ObjectWithMetadata,Serializable
The Class IDDataValidationException - Thrown when any Data validation error
occurs.
- Author:
- Manoj SP
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new ID data validation exception.IDDataValidationException(IdAuthenticationErrorConstants exceptionConstant, Object... args) Instantiates a new ID data validation exception.IDDataValidationException(IdAuthenticationErrorConstants exceptionConstant, Throwable rootCause, Object... args) Instantiates a new ID data validation exception.IDDataValidationException(String errorCode, String errorMessage, Object... args) Instantiates a new ID data validation exception.IDDataValidationException(String errorCode, String errorMessage, Throwable cause, Object... args) Constructs exception for the given error code, error message andThrowable. -
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
-
IDDataValidationException
public IDDataValidationException()Instantiates a new ID data validation exception. -
IDDataValidationException
Instantiates a new ID data validation exception.- Parameters:
exceptionConstant- the exception constantargs- the args
-
IDDataValidationException
public IDDataValidationException(IdAuthenticationErrorConstants exceptionConstant, Throwable rootCause, Object... args) Instantiates a new ID data validation exception.- Parameters:
exceptionConstant- the exception constantrootCause- the root causeargs- the args
-
IDDataValidationException
Instantiates a new ID data validation exception.- Parameters:
errorCode- the error codeerrorMessage- the error messageargs- the args
-
IDDataValidationException
public IDDataValidationException(String errorCode, String errorMessage, Throwable cause, Object... args) Constructs exception for the given error code, error message andThrowable.- Parameters:
errorCode- the error codeerrorMessage- the error messagecause- the causeargs- the args- See Also:
-
-
Method Details
-
addInfo
Adds the info.- Parameters:
errorCode- the error codeerrorMessage- the error messageactionMesgsage- the action mesgsageargs- the args
-
clearArgs
public void clearArgs()Clear agrs. -
getArgs
Gets the args.- Returns:
- the args
-
getActionargs
- Returns:
- the actionargs
-