Class ErrorWithRequestException

    • Constructor Detail

      • ErrorWithRequestException

        public ErrorWithRequestException​(String reason,
                                         HttpContext context)
        Initialization constructor.
        Parameters:
        reason - The reason for throwing exception
        context - The http context of the API exception
    • Method Detail

      • getError

        public String getError()
        Getter for Error. An error message pertaining to what the issue could be
        Returns:
        Returns the String
      • getRequestId

        public String getRequestId()
        Getter for RequestId. The associated requestId from AWS
        Returns:
        Returns the String