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:
java.io.Serializable
public class Netty4RouterException extends RouterException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Netty4RouterException(io.netty.handler.codec.http.HttpResponseStatus status, boolean closeChannel)
Netty4RouterException(io.netty.handler.codec.http.HttpResponseStatus status, boolean closeChannel, java.lang.Throwable cause)
Netty4RouterException(io.netty.handler.codec.http.HttpResponseStatus status, boolean closeChannel, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Netty4RouterException(io.netty.handler.codec.http.HttpResponseStatus status, java.lang.String message, boolean closeChannel)
Netty4RouterException(io.netty.handler.codec.http.HttpResponseStatus status, java.lang.String message, boolean closeChannel, java.lang.Throwable cause)
Netty4RouterException(io.netty.handler.codec.http.HttpResponseStatus status, 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 io.netty.handler.codec.http.HttpResponseStatus
status()
-
Methods inherited from class com.linkedin.alpini.router.api.RouterException
shouldCloseChannel
-
Methods inherited from class com.linkedin.alpini.base.misc.ExceptionWithStatus
code, status
-
-
-
-
Constructor Detail
-
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 java.lang.String message, boolean closeChannel)
-
Netty4RouterException
public Netty4RouterException(@Nonnull io.netty.handler.codec.http.HttpResponseStatus status, boolean closeChannel, java.lang.Throwable cause)
-
Netty4RouterException
public Netty4RouterException(@Nonnull io.netty.handler.codec.http.HttpResponseStatus status, @Nonnull java.lang.String message, boolean closeChannel, java.lang.Throwable cause)
-
Netty4RouterException
public Netty4RouterException(@Nonnull io.netty.handler.codec.http.HttpResponseStatus status, boolean closeChannel, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
Netty4RouterException
public Netty4RouterException(@Nonnull io.netty.handler.codec.http.HttpResponseStatus status, @Nonnull java.lang.String message, boolean closeChannel, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
-
Method Detail
-
status
public io.netty.handler.codec.http.HttpResponseStatus status()
- Overrides:
status
in classExceptionWithStatus
-
-