Class DeploymentHandshakeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
jakarta.websocket.DeploymentException
org.glassfish.tyrus.client.exception.DeploymentHandshakeException
All Implemented Interfaces:
Serializable

public class DeploymentHandshakeException extends DeploymentException
The DeploymentException wrapping the HandshakeException and makes the HTTP status code accessible directly.
See Also:
  • Constructor Details

    • DeploymentHandshakeException

      public DeploymentHandshakeException(String message)
    • DeploymentHandshakeException

      public DeploymentHandshakeException(String message, HandshakeException cause)
  • Method Details

    • getHttpStatusCode

      public int getHttpStatusCode()
      Get the error code.
      Returns:
      the error code.