Package com.linkedin.alpini.router.api
Class Netty4RouterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.linkedin.alpini.base.misc.ExceptionWithStatus
com.linkedin.alpini.router.api.RouterException
com.linkedin.alpini.router.api.Netty4RouterException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionNetty4RouterException
(io.netty.handler.codec.http.HttpResponseStatus status, boolean closeChannel) Netty4RouterException
(io.netty.handler.codec.http.HttpResponseStatus status, boolean closeChannel, Throwable cause) Netty4RouterException
(io.netty.handler.codec.http.HttpResponseStatus status, boolean closeChannel, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Netty4RouterException
(io.netty.handler.codec.http.HttpResponseStatus status, String message, boolean closeChannel) Netty4RouterException
(io.netty.handler.codec.http.HttpResponseStatus status, String message, boolean closeChannel, Throwable cause) Netty4RouterException
(io.netty.handler.codec.http.HttpResponseStatus status, String message, boolean closeChannel, Throwable cause, boolean enableSuppression, boolean writableStackTrace) -
Method Summary
Methods inherited from class com.linkedin.alpini.router.api.RouterException
shouldCloseChannel
Methods inherited from class com.linkedin.alpini.base.misc.ExceptionWithStatus
code, status
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Netty4RouterException
public Netty4RouterException(@Nonnull io.netty.handler.codec.http.HttpResponseStatus status, boolean closeChannel) -
Netty4RouterException
public Netty4RouterException(@Nonnull io.netty.handler.codec.http.HttpResponseStatus status, @Nonnull String message, boolean closeChannel) -
Netty4RouterException
public Netty4RouterException(@Nonnull io.netty.handler.codec.http.HttpResponseStatus status, boolean closeChannel, Throwable cause) -
Netty4RouterException
-
Netty4RouterException
public Netty4RouterException(@Nonnull io.netty.handler.codec.http.HttpResponseStatus status, boolean closeChannel, Throwable cause, boolean enableSuppression, boolean writableStackTrace) -
Netty4RouterException
-
-
Method Details
-
status
public io.netty.handler.codec.http.HttpResponseStatus status()- Overrides:
status
in classExceptionWithStatus
-