Package com.netflix.zuul.exception
Class ZuulException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.netflix.zuul.exception.ZuulException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OriginThrottledException
,OutboundException
,RequestExpiredException
,ZuulFilterConcurrencyExceededException
All handled exceptions in Zuul are ZuulExceptions
- See Also:
-
Constructor Summary
ConstructorDescriptionZuulException
(String sMessage) ZuulException
(String sMessage, boolean noStackTrace) ZuulException
(String sMessage, String errorCause) error message, status code and info about the causeZuulException
(String sMessage, String errorCause, boolean noStackTrace) ZuulException
(String sMessage, Throwable throwable, String errorCause) Source Throwable, message, status code and info about the causeZuulException
(Throwable throwable) ZuulException
(Throwable throwable, String sMessage, boolean noStackTrace) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ZuulException
Source Throwable, message, status code and info about the cause- Parameters:
sMessage
-throwable
-errorCause
-
-
ZuulException
error message, status code and info about the cause- Parameters:
sMessage
-errorCause
-
-
ZuulException
-
ZuulException
-
ZuulException
-
ZuulException
-
ZuulException
-
-
Method Details
-
getStatusCode
public int getStatusCode() -
setStatusCode
public void setStatusCode(int statusCode) -
dontLogAsError
public void dontLogAsError() -
shouldLogAsError
public boolean shouldLogAsError() -
getErrorCause
-