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

public Class Exceptions

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

Converts the exceptions into more specific ones.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static DeploymentException

Returns:

a Deployment exception.
deploymentException
(String
The Exception message
message
,
Throwable
The Cause Exception
cause
)

Get the Deployment Exception, or return the exception if of the type.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Exceptionsback to summary
public Exceptions()

Method Detail

deploymentExceptionback to summary
public static DeploymentException deploymentException(String message, Throwable cause)

Get the Deployment Exception, or return the exception if of the type.

Parameters
message:String

The Exception message

cause:Throwable

The Cause Exception

Returns:DeploymentException

a Deployment exception.