All Implemented Interfaces:
Serializable

public class MsgResponseError extends MsgResponse implements Serializable
Response message that is sent to a client whenever one of his commands causes an exception
See Also:
  • Field Details

    • exception

      private final Exception exception
      The exception that has been thrown
  • Constructor Details

    • MsgResponseError

      public MsgResponseError(Exception exception)
      Builds a new response message with the given exception
      Parameters:
      exception - the exception that has been thrown
  • Method Details

    • getException

      public Exception getException()
      Returns:
      the exception that has been thrown