Class RequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.mosip.kernel.core.exception.BaseUncheckedException
io.mosip.kernel.signature.exception.RequestException
- All Implemented Interfaces:
Serializable
public class RequestException
extends io.mosip.kernel.core.exception.BaseUncheckedException
Customized exception class for invalid request provided by the user.
- Since:
- 1.0.0
- Author:
- Bal Vikash Sharma
- See Also:
-
Field Summary
Fields inherited from class io.mosip.kernel.core.exception.BaseUncheckedException
EMPTY_SPACE -
Constructor Summary
ConstructorsConstructorDescriptionRequestException(String errorCode, String errorMessage) Constructor to initialize handler exceptionRequestException(String errorCode, String errorMessage, Throwable rootCause) Constructor the initialize Handler exception -
Method Summary
Methods inherited from class io.mosip.kernel.core.exception.BaseUncheckedException
addInfo, getCodes, getErrorCode, getErrorText, getErrorTexts, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RequestException
Constructor to initialize handler exception- Parameters:
errorCode- The error code for this exceptionerrorMessage- The error message for this exception
-
RequestException
Constructor the initialize Handler exception- Parameters:
errorCode- The error code for this exceptionerrorMessage- The error message for this exceptionrootCause- the specified cause
-