Class IdObjectValidationFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.mosip.kernel.core.exception.BaseCheckedException
-
- io.mosip.kernel.core.idobjectvalidator.exception.IdObjectValidationFailedException
-
- All Implemented Interfaces:
Serializable
public class IdObjectValidationFailedException extends BaseCheckedException
Exception class when there is any interrupt in processing JSON validation.- Since:
- 1.0.0
- Author:
- Manoj SP, Swati Raj
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdObjectValidationFailedException(IdObjectValidatorErrorConstant errorConstant, List<ServiceError> errors)Instantiates a new id object validation processing exception.IdObjectValidationFailedException(String errorCode, String errorMessage)Constructor for JsonValidationProcessingException class.
-
Method Summary
-
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
-
-
-
-
Constructor Detail
-
IdObjectValidationFailedException
public IdObjectValidationFailedException(String errorCode, String errorMessage)
Constructor for JsonValidationProcessingException class.- Parameters:
errorCode- the error code of the exception.errorMessage- the error message associated with the exception.
-
IdObjectValidationFailedException
public IdObjectValidationFailedException(IdObjectValidatorErrorConstant errorConstant, List<ServiceError> errors)
Instantiates a new id object validation processing exception.- Parameters:
errorConstant- the error constanterrors- the errors
-
-