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:
java.io.Serializable
- Direct Known Subclasses:
Netty4RouterException
public class RouterException extends ExceptionWithStatus
Exception class for checked exceptions within the Espresso Router. This extends Exception with the addition of a ResponseStatus for the error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RouterException(java.lang.Class<STATUS> statusClass, STATUS status, int code, java.lang.String message, boolean closeChannel)
RouterException(java.lang.Class<STATUS> statusClass, STATUS status, int code, java.lang.String message, boolean closeChannel, java.lang.Throwable cause)
RouterException(java.lang.Class<STATUS> statusClass, STATUS status, int code, java.lang.String message, boolean closeChannel, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldCloseChannel()
-
Methods inherited from class com.linkedin.alpini.base.misc.ExceptionWithStatus
code, status, status
-
-
-
-
Constructor Detail
-
RouterException
public RouterException(@Nonnull java.lang.Class<STATUS> statusClass, @Nonnull STATUS status, int code, @Nonnull java.lang.String message, boolean closeChannel)
-
RouterException
public RouterException(@Nonnull java.lang.Class<STATUS> statusClass, @Nonnull STATUS status, int code, @Nonnull java.lang.String message, boolean closeChannel, java.lang.Throwable cause)
-
RouterException
public RouterException(@Nonnull java.lang.Class<STATUS> statusClass, @Nonnull STATUS status, int code, @Nonnull java.lang.String message, boolean closeChannel, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
-