java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.http.client.HttpClientException
io.inverno.mod.http.client.ResetStreamException
- All Implemented Interfaces:
Serializable
Thrown to indicate that an HTTP/2 steam has been reset by peer.
- Since:
- 1.9
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorDescriptionResetStreamException
(long errorCode) Creates a reset stream exception.ResetStreamException
(long errorCode, String message) Creates a reset stream exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResetStreamException
public ResetStreamException(long errorCode) Creates a reset stream exception.
- Parameters:
errorCode
- the reset stream frame error code
-
ResetStreamException
Creates a reset stream exception.
- Parameters:
errorCode
- the reset stream frame error codemessage
- the message
-
-
Method Details
-
getErrorCode
public long getErrorCode()Returns the reset stream frame error code.
- Returns:
- the error code
-