Package org.apache.hc.core5.http2
Class H2ConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hc.core5.http2.H2ConnectionException
- All Implemented Interfaces:
Serializable
Signals fatal HTTP/2 protocol violation that renders the actual
HTTP/2 connection unreliable.
- Since:
- 5.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionH2ConnectionException(int code, String message) H2ConnectionException(H2Error error, String message) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
H2ConnectionException
-
H2ConnectionException
-
-
Method Details
-
getCode
public int getCode()
-