Class ExceptionReply

    • Field Detail

      • except

        private MomException except
        The MomException which occured when processing the request.
    • Constructor Detail

      • ExceptionReply

        public ExceptionReply​(AbstractRequestNot request,
                              MomException except)
        Constructs an ExceptionReply instance.
        Parameters:
        request - The request that caused the exception.
        except - The exception to send back to the client.
      • ExceptionReply

        public ExceptionReply​(MomException except)
        Constructs an ExceptionReply instance.
        Parameters:
        except - The exception to send back to the client.
    • Method Detail

      • getException

        public MomException getException()
        Returns the exception wrapped by the reply.