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:
  • Constructor Details

    • RequestException

      public RequestException(String errorCode, String errorMessage)
      Constructor to initialize handler exception
      Parameters:
      errorCode - The error code for this exception
      errorMessage - The error message for this exception
    • RequestException

      public RequestException(String errorCode, String errorMessage, Throwable rootCause)
      Constructor the initialize Handler exception
      Parameters:
      errorCode - The error code for this exception
      errorMessage - The error message for this exception
      rootCause - the specified cause