Class BrokerException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BrokerErrorException, BrokerRejectionException, BrokerResponseException

public class BrokerException extends RuntimeException
Represents exceptional errors that occur in the gateway-broker client on the broker side, e.g. error responses, command rejections, etc.

Primary usage is wrapping around error responses so that these can be consumed by throwable handlers.

See Also:
  • Constructor Details

    • BrokerException

      public BrokerException(String message)
    • BrokerException

      public BrokerException(String message, Throwable cause)
    • BrokerException

      public BrokerException(Throwable cause)