Class DeploymentHandshakeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jakarta.websocket.DeploymentException
org.glassfish.tyrus.client.exception.DeploymentHandshakeException
- All Implemented Interfaces:
Serializable
The
DeploymentException
wrapping the HandshakeException
and makes the HTTP status code accessible directly.- See Also:
-
Constructor Summary
ConstructorDescriptionDeploymentHandshakeException
(String message) DeploymentHandshakeException
(String message, HandshakeException 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
-
DeploymentHandshakeException
-
DeploymentHandshakeException
-
-
Method Details
-
getHttpStatusCode
public int getHttpStatusCode()Get the error code.- Returns:
- the error code.
-