Top Description Fields Constructors
jakarta.websocket

public Class DeploymentException

extends Exception
Class Inheritance

Checked exception indicating some kind of failure either to publish an endpoint on its server, or a failure to connect a client to its server.
Author
dannycoward

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
DeploymentException(String
the reason for the failure.
message
)

Creates a deployment exception with the given reason for the deployment failure.

public
DeploymentException(String
the reason for the failure.
message
,
Throwable
the cause of the problem.
cause
)

Creates a deployment exception with the given reason for the deployment failure and wrapped cause of the failure.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Constructor Detail

DeploymentExceptionback to summary
public DeploymentException(String message)

Creates a deployment exception with the given reason for the deployment failure.

Parameters
message:String

the reason for the failure.

DeploymentExceptionback to summary
public DeploymentException(String message, Throwable cause)

Creates a deployment exception with the given reason for the deployment failure and wrapped cause of the failure.

Parameters
message:String

the reason for the failure.

cause:Throwable

the cause of the problem.