public final class Http3Exception extends Exception
| Constructor and Description |
|---|
Http3Exception(Http3ErrorCode errorCode,
@Nullable String message)
Create a new instance.
|
Http3Exception(Http3ErrorCode errorCode,
String message,
@Nullable Throwable cause)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Http3ErrorCode |
errorCode()
Returns the related
Http3ErrorCode. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic Http3Exception(Http3ErrorCode errorCode, @Nullable @Nullable String message)
errorCode - the Http3ErrorCode that caused this exception.message - the message to include.public Http3Exception(Http3ErrorCode errorCode, String message, @Nullable @Nullable Throwable cause)
errorCode - the Http3ErrorCode that caused this exception.message - the message to include.cause - the Throwable to wrap.public Http3ErrorCode errorCode()
Http3ErrorCode.Http3ErrorCode.Copyright © 2020–2024 The Netty Project. All rights reserved.