Class 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:
    BaseUncheckedException, Serialized Form
    • Constructor Detail

      • 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