java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.http.http2.Http2Exception
- All Implemented Interfaces:
Serializable
HTTP/2 exception.
- See Also:
-
Constructor Summary
ConstructorDescriptionHttp2Exception
(Http2ErrorCode errorCode, String message) Exception with type and message.Http2Exception
(Http2ErrorCode errorCode, String message, Throwable cause) Exception with type, message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Http2Exception
Exception with type and message.- Parameters:
errorCode
- error codemessage
- descriptive message
-
Http2Exception
Exception with type, message and cause.- Parameters:
errorCode
- error codemessage
- descriptive messagecause
- cause
-
-
Method Details
-
code
Error code.- Returns:
- error code
-