Class ErrorResponseMessage

    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorResponseMessage​(java.lang.Object id, java.lang.Throwable error)
      Constructs a ErrorResponseMessage.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String contentString()  
      java.lang.Throwable getError()
      The error that occurred while processing the request.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ErrorResponseMessage

        @ConstructorParameters({"id","error"})
        public ErrorResponseMessage​(java.lang.Object id,
                                    java.lang.Throwable error)
        Constructs a ErrorResponseMessage.
        Parameters:
        id - the id of the RequestMessage this is a response to.
        error - the error that occurred while processing the request.
    • Method Detail

      • getError

        public java.lang.Throwable getError()
        The error that occurred while processing the request.
        Specified by:
        getError in interface ErrorMessage