Class HttpFailureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.fmjsjx.libnetty.http.exception.HttpRuntimeException
-
- com.github.fmjsjx.libnetty.http.server.exception.HttpFailureException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BadRequestException,ManualHttpFailureException,SimpleHttpFailureException
public abstract class HttpFailureException extends com.github.fmjsjx.libnetty.http.exception.HttpRuntimeExceptionAbstract implementation ofHttpRuntimeExceptionwith aHttpResponseStatus.- Since:
- 1.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpFailureException(java.lang.String message)protectedHttpFailureException(java.lang.String message, java.lang.Throwable cause)protectedHttpFailureException(java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLocalizedMessage()abstract io.netty.handler.codec.http.HttpResponseStatusstatus()Returns the failure status.
-