Class BusException

All Implemented Interfaces:
Serializable

public class BusException extends RuntimeException
Serialized and send as an ExceptionMessage over the Spring Bus
See Also:
  • Constructor Details

    • BusException

      public BusException(String message)
      Seen as WARNING / HTTP Bad Request
    • BusException

      public BusException(String message, int errorCode)
      Seen as WARNING with specific error code
    • BusException

      public BusException(String message, Throwable exception)
      Seen as ERROR / HTTP Internal Server Error. Stacktrace information is logged but not passed to the parent to limit sensitive information being sent over the 'bus'.