For a list of errors see: https://www.rfc-editor.org/rfc/rfc9000.html#name-transport-error-codes
| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private final long | |
| private final QuicTLSEngine. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | QuicTransportException(String
the reason why the exception occurred reason, QuicTLSEngine.the key space in which the frame appeared.
May be keySpace,null, for instance, in
case of QuicTransportErrors#INTERNAL_ERROR.the frame type of the frame whose parsing / handling
caused the error.
May be 0 if not related to any specific frame. frameType, QuicTransportErrors a quic transport error errorCode)Constructs a new |
| public | QuicTransportException(String
the reason why the exception occurred reason, QuicTLSEngine.the key space in which the frame appeared.
May be keySpace,null, for instance, in
case of QuicTransportErrors#INTERNAL_ERROR.the frame type of the frame whose parsing / handling
caused the error.
May be 0 if not related to any specific frame. frameType, long a quic transport error code errorCode, Throwable the cause cause)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | Returns: the frame type for which the error occurred, or 0Returns the frame type for which the error occurred, or 0. |
| public QuicTLSEngine. | Returns: the key space for which the error occurred, ornullReturns the key space for which the error occurred, or |
| public String | Returns: the reason to include in theConnectionCloseFrameReturns the reason to include in the |
| errorCode | back to summary |
|---|---|
| private final long errorCode | |
| frameType | back to summary |
|---|---|
| private final long frameType | |
| keySpace | back to summary |
|---|---|
| private final QuicTLSEngine. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| QuicTransportException | back to summary |
|---|---|
| public QuicTransportException(String reason, QuicTLSEngine. Constructs a new
| |
| QuicTransportException | back to summary |
|---|---|
| public QuicTransportException(String reason, QuicTLSEngine. Constructs a new
| |
| getErrorCode | back to summary |
|---|---|
| public long getErrorCode() Returns the transport error that occurred.
| |
| getFrameType | back to summary |
|---|---|
| public long getFrameType() Returns the frame type for which the error occurred, or 0.
| |
| getKeySpace | back to summary |
|---|---|
| public QuicTLSEngine. Returns the key space for which the error occurred, or
| |
| getReason | back to summary |
|---|---|
| public String getReason() Returns the reason to include in the
| |