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
public class IDDataValidationException extends IdAuthenticationBusinessException
The Class IDDataValidationException - Thrown when any Data validation error occurs.- Author:
- Manoj SP
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IDDataValidationException()Instantiates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInfo(String errorCode, String errorMessage, String actionMesgsage, Object... args)Adds the info.voidclearArgs()Clear agrs.List<String>getActionargs()List<Object[]>getArgs()Gets the args.-
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
-
IDDataValidationException
public IDDataValidationException()
Instantiates a new ID data validation exception.
-
IDDataValidationException
public IDDataValidationException(IdAuthenticationErrorConstants exceptionConstant, Object... args)
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
public IDDataValidationException(String errorCode, String errorMessage, Object... args)
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:
BaseUncheckedException(String, String, Throwable)
-
-
Method Detail
-
addInfo
public void addInfo(String errorCode, String errorMessage, String actionMesgsage, Object... args)
Adds the info.- Parameters:
errorCode- the error codeerrorMessage- the error messageactionMesgsage- the action mesgsageargs- the args
-
clearArgs
public void clearArgs()
Clear agrs.
-
-