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:
java.io.Serializable
public class H2ConnectionException extends java.io.IOException
Signals fatal HTTP/2 protocol violation that renders the actual HTTP/2 connection unreliable.- Since:
- 5.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private int
code
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description H2ConnectionException(int code, java.lang.String message)
H2ConnectionException(H2Error error, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
code
private final int code
-
-
Constructor Detail
-
H2ConnectionException
public H2ConnectionException(H2Error error, java.lang.String message)
-
H2ConnectionException
public H2ConnectionException(int code, java.lang.String message)
-
-