Class Http3Exception
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.netty.handler.codec.http3.Http3Exception
- All Implemented Interfaces:
Serializable
An exception related to violate the HTTP3 spec.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHttp3Exception(Http3ErrorCode errorCode, @Nullable String message) Create a new instance.Http3Exception(Http3ErrorCode errorCode, String message, @Nullable Throwable cause) Create a new instance. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Http3Exception
Create a new instance.- Parameters:
errorCode- theHttp3ErrorCodethat caused this exception.message- the message to include.
-
Http3Exception
public Http3Exception(Http3ErrorCode errorCode, String message, @Nullable @Nullable Throwable cause) Create a new instance.- Parameters:
errorCode- theHttp3ErrorCodethat caused this exception.message- the message to include.cause- theThrowableto wrap.
-
-
Method Details
-
errorCode
-