Package jakarta.websocket
Class DeploymentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- jakarta.websocket.DeploymentException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
DeploymentHandshakeException
public class DeploymentException extends java.lang.Exception
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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeploymentException(java.lang.String message)
Creates a deployment exception with the given reason for the deployment failure.DeploymentException(java.lang.String message, java.lang.Throwable cause)
Creates a deployment exception with the given reason for the deployment failure and wrapped cause of the failure.
-
-
-
Constructor Detail
-
DeploymentException
public DeploymentException(java.lang.String message)
Creates a deployment exception with the given reason for the deployment failure.- Parameters:
message
- the reason for the failure.
-
DeploymentException
public DeploymentException(java.lang.String message, java.lang.Throwable cause)
Creates a deployment exception with the given reason for the deployment failure and wrapped cause of the failure.- Parameters:
message
- the reason for the failure.cause
- the cause of the problem.
-
-