Package io.micronaut.http.exceptions
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:
CodecException
,ConnectionClosedException
,ContentLengthExceededException
,HttpClientException
,HttpServerException
,HttpStatusException
,MultipartException
,UriSyntaxException
Parent class of all exceptions thrown during HTTP processing.
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionDefault constructor.HttpException
(String message) HttpException
(String message, Throwable cause) protected
HttpException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) -
Method Summary
Methods inherited from class java.lang.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
- Parameters:
message
- The messagecause
- The throwable
-
HttpException
protected HttpException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) - Parameters:
message
- The messagecause
- The throwableenableSuppression
- Enable suppressionwritableStackTrace
- Writable stacktrace
-