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:
java.io.Serializable
- Direct Known Subclasses:
CodecException
,ConnectionClosedException
,ContentLengthExceededException
,HttpStatusException
,MultipartException
,UriSyntaxException
public abstract class HttpException extends java.lang.RuntimeException
Parent class of all exceptions thrown during HTTP processing.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description HttpException()
Default constructor.HttpException(java.lang.String message)
HttpException(java.lang.String message, java.lang.Throwable cause)
protected
HttpException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
-
-
Constructor Detail
-
HttpException
public HttpException()
Default constructor.
-
HttpException
public HttpException(java.lang.String message)
- Parameters:
message
- The message
-
HttpException
public HttpException(java.lang.String message, java.lang.Throwable cause)
- Parameters:
message
- The messagecause
- The throwable
-
HttpException
protected HttpException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
- Parameters:
message
- The messagecause
- The throwableenableSuppression
- Enable suppressionwritableStackTrace
- Writable stacktrace
-
-