Top Description Constructors Methods
org.glassfish.tyrus.client.exception

public Class DeploymentHandshakeException

extends DeploymentException
Class Inheritance
Imports
org.glassfish.tyrus.core.HandshakeException, jakarta.websocket.DeploymentException

The DeploymentException wrapping the HandshakeException and makes the HTTP status code accessible directly.

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the error code.
getHttpStatusCode
()

Get the error code.

Constructor Detail

DeploymentHandshakeExceptionback to summary
public DeploymentHandshakeException(String message)
DeploymentHandshakeExceptionback to summary
public DeploymentHandshakeException(String message, HandshakeException cause)

Method Detail

getHttpStatusCodeback to summary
public int getHttpStatusCode()

Get the error code.

Returns:int

the error code.