Package com.linkedin.alpini.router.api
Class RouterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.linkedin.alpini.base.misc.ExceptionWithStatus
com.linkedin.alpini.router.api.RouterException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Netty4RouterException
Exception class for checked exceptions within the Espresso Router. This extends Exception with
the addition of a ResponseStatus for the error.
- See Also:
-
Constructor Summary
ConstructorDescriptionRouterException
(Class<STATUS> statusClass, STATUS status, int code, String message, boolean closeChannel) RouterException
(Class<STATUS> statusClass, STATUS status, int code, String message, boolean closeChannel, Throwable cause) RouterException
(Class<STATUS> statusClass, STATUS status, int code, String message, boolean closeChannel, Throwable cause, boolean enableSuppression, boolean writableStackTrace) -
Method Summary
Methods inherited from class com.linkedin.alpini.base.misc.ExceptionWithStatus
code, status, status
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RouterException
-
RouterException
-
RouterException
-
-
Method Details
-
shouldCloseChannel
public boolean shouldCloseChannel()
-