Class ResponseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ResponseException
    extends CommandException
    Thrown when a command yields an error. Unlike MessageException this is always caused by an error or problem on the remote-side.
    See Also:
    Serialized Form
    • Constructor Detail

      • ResponseException

        public ResponseException​(ClbError err)
      • ResponseException

        public ResponseException​(ClbError err,
                                 java.lang.String message)
      • ResponseException

        public ResponseException​(ClbError err,
                                 java.lang.String message,
                                 MessageContext ctx)
    • Method Detail

      • getCode

        public int getCode()
      • getContext

        public MessageContext getContext()
        Returns:
        the context