Class IdObjectIOException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.mosip.kernel.core.exception.BaseCheckedException
-
- io.mosip.kernel.core.idobjectvalidator.exception.IdObjectIOException
-
- All Implemented Interfaces:
Serializable
public class IdObjectIOException extends BaseCheckedException
Exception class when there is any IO interrupt while reading/converting Id Object String.- Since:
- 1.0.0
- Author:
- Manoj SP, Swati Raj
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdObjectIOException(IdObjectValidatorErrorConstant errorConstant)Instantiates a new id object IO exception.IdObjectIOException(IdObjectValidatorErrorConstant errorConstant, Throwable rootCause)Instantiates a new id object IO exception.IdObjectIOException(String errorCode, String errorMessage)Constructor for JsonIOException class.IdObjectIOException(String errorCode, String errorMessage, Throwable rootCause)Constructor for JsonIOException 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
-
IdObjectIOException
public IdObjectIOException(IdObjectValidatorErrorConstant errorConstant)
Instantiates a new id object IO exception.- Parameters:
errorConstant- the error constant
-
IdObjectIOException
public IdObjectIOException(String errorCode, String errorMessage)
Constructor for JsonIOException class.- Parameters:
errorCode- the error code of the exception.errorMessage- the error message associated with the exception.
-
IdObjectIOException
public IdObjectIOException(IdObjectValidatorErrorConstant errorConstant, Throwable rootCause)
Instantiates a new id object IO exception.- Parameters:
errorConstant- the error constantrootCause- the root cause
-
IdObjectIOException
public IdObjectIOException(String errorCode, String errorMessage, Throwable rootCause)
Constructor for JsonIOException class.- Parameters:
errorCode- the error code of the exception.errorMessage- the error message associated with the exception.rootCause- root cause of exception.
-
-