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