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
public class IdValidationFailedException extends IdAuthenticationBusinessException
Exception thrown when UID/VIN is invalid.- Author:
- Manoj SP
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdValidationFailedException()IdValidationFailedException(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, 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
-
IdValidationFailedException
public IdValidationFailedException()
-
IdValidationFailedException
public IdValidationFailedException(IdAuthenticationErrorConstants exceptionConstant)
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:
BaseCheckedException(String, String)
-
-