Class ErrorResponse

    • Constructor Detail

      • ErrorResponse

        public ErrorResponse​(int id,
                             MessageTypeEnum type)
        Creates a new instance of ErrorResponse.
        Parameters:
        id - the response eliciting this Request
        type - the message type of the response
      • ErrorResponse

        public ErrorResponse​(int requestID,
                             ErrorResponse.ErrorResponseType type,
                             String message)
        Creates a new instance of ErrorResponse.
        Parameters:
        requestID - the requestID of the response
        type - the type of the response
        message - the associated message