Class ZuulException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OriginThrottledException, OutboundException, RequestExpiredException, ZuulFilterConcurrencyExceededException

public class ZuulException extends RuntimeException
All handled exceptions in Zuul are ZuulExceptions
See Also:
  • Constructor Details

    • ZuulException

      public ZuulException(String sMessage, Throwable throwable, String errorCause)
      Source Throwable, message, status code and info about the cause
      Parameters:
      sMessage -
      throwable -
      errorCause -
    • ZuulException

      public ZuulException(String sMessage, String errorCause)
      error message, status code and info about the cause
      Parameters:
      sMessage -
      errorCause -
    • ZuulException

      public ZuulException(String sMessage, String errorCause, boolean noStackTrace)
    • ZuulException

      public ZuulException(Throwable throwable, String sMessage, boolean noStackTrace)
    • ZuulException

      public ZuulException(Throwable throwable)
    • ZuulException

      public ZuulException(String sMessage)
    • ZuulException

      public ZuulException(String sMessage, boolean noStackTrace)
  • Method Details

    • getStatusCode

      public int getStatusCode()
    • setStatusCode

      public void setStatusCode(int statusCode)
    • dontLogAsError

      public void dontLogAsError()
    • shouldLogAsError

      public boolean shouldLogAsError()
    • getErrorCause

      public String getErrorCause()