Package com.linkedin.alpini.netty4.misc
Class ExceptionWithResponseStatus
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.linkedin.alpini.base.misc.ExceptionWithStatus
com.linkedin.alpini.netty4.misc.ExceptionWithResponseStatus
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionExceptionWithResponseStatus
(io.netty.handler.codec.http.HttpResponseStatus responseStatus) ExceptionWithResponseStatus
(io.netty.handler.codec.http.HttpResponseStatus responseStatus, String message) ExceptionWithResponseStatus
(io.netty.handler.codec.http.HttpResponseStatus responseStatus, String message, Throwable cause) protected
ExceptionWithResponseStatus
(io.netty.handler.codec.http.HttpResponseStatus responseStatus, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) ExceptionWithResponseStatus
(io.netty.handler.codec.http.HttpResponseStatus responseStatus, Throwable cause) protected
ExceptionWithResponseStatus
(io.netty.handler.codec.http.HttpResponseStatus responseStatus, Throwable cause, boolean enableSuppression, boolean writableStackTrace) -
Method Summary
Modifier and TypeMethodDescriptionio.netty.handler.codec.http.HttpResponseStatus
io.netty.handler.codec.http.HttpResponseStatus
status()
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
-
ExceptionWithResponseStatus
public ExceptionWithResponseStatus(@Nonnull io.netty.handler.codec.http.HttpResponseStatus responseStatus) -
ExceptionWithResponseStatus
public ExceptionWithResponseStatus(@Nonnull io.netty.handler.codec.http.HttpResponseStatus responseStatus, @Nonnull String message) -
ExceptionWithResponseStatus
public ExceptionWithResponseStatus(@Nonnull io.netty.handler.codec.http.HttpResponseStatus responseStatus, Throwable cause) -
ExceptionWithResponseStatus
-
ExceptionWithResponseStatus
protected ExceptionWithResponseStatus(@Nonnull io.netty.handler.codec.http.HttpResponseStatus responseStatus, Throwable cause, boolean enableSuppression, boolean writableStackTrace) -
ExceptionWithResponseStatus
-
-
Method Details
-
status
public io.netty.handler.codec.http.HttpResponseStatus status()- Overrides:
status
in classExceptionWithStatus
-
responseStatus
public io.netty.handler.codec.http.HttpResponseStatus responseStatus()
-