Class IdValidationFailedException
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.IdValidationFailedException
- All Implemented Interfaces:
ObjectWithMetadata,Serializable
Exception thrown when UID/VIN is invalid.
- Author:
- Manoj SP
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIdValidationFailedException(IdAuthenticationErrorConstants exceptionConstant) Instantiates a new id validation failed exception.IdValidationFailedException(IdAuthenticationErrorConstants exceptionConstant, Throwable rootCause) Instantiates a new id validation failed exception.IdValidationFailedException(IdAuthenticationErrorConstants exceptionConstant, org.springframework.validation.Errors errors) Constructs exception for the givenIdAuthenticationErrorConstants.IdValidationFailedException(org.springframework.validation.Errors errors) Instantiates a new data validation exception. -
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
-
IdValidationFailedException
public IdValidationFailedException() -
IdValidationFailedException
Instantiates a new id validation failed exception.- Parameters:
exceptionConstant- the exception constant
-
IdValidationFailedException
public IdValidationFailedException(IdAuthenticationErrorConstants exceptionConstant, Throwable rootCause) Instantiates a new id validation failed exception.- Parameters:
exceptionConstant- the exception constantrootCause- the root cause
-
IdValidationFailedException
public IdValidationFailedException(org.springframework.validation.Errors errors) Instantiates a new data validation exception.- Parameters:
errors- the errors
-
IdValidationFailedException
public IdValidationFailedException(IdAuthenticationErrorConstants exceptionConstant, org.springframework.validation.Errors errors) Constructs exception for the givenIdAuthenticationErrorConstants.- Parameters:
exceptionConstant- the exception constanterrors- the errors- See Also:
-