Class DeploymentException

java.lang.Object
java.lang.Throwable
java.lang.Exception
jakarta.websocket.DeploymentException
All Implemented Interfaces:
Serializable

public class DeploymentException extends Exception
Exception thrown when a WebSocket endpoint cannot be deployed due to a configuration error.
See Also:
  • Constructor Details

    • DeploymentException

      public DeploymentException(String message)
      Creates a DeploymentException with the specified detail message.
      Parameters:
      message - The detail message
    • DeploymentException

      public DeploymentException(String message, Throwable cause)
      Creates a DeploymentException with the specified detail message and cause.
      Parameters:
      message - The detail message
      cause - The underlying cause of the exception