Class HttpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.http.exceptions.HttpException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BufferLengthExceededException, CodecException, ConnectionClosedException, ContentLengthExceededException, CookieSizeExceededException, HttpClientException, HttpServerException, HttpStatusException, MultipartException, UriSyntaxException
Parent class of all exceptions thrown during HTTP processing.
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionDefault constructor.HttpException(String message) HttpException(String message, @Nullable Throwable cause) protectedHttpException(String message, @Nullable Throwable cause, boolean enableSuppression, boolean writableStackTrace) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpException
public HttpException()Default constructor. -
HttpException
- Parameters:
message- The message
-
HttpException
-
HttpException
-