Class DeploymentHandshakeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DeploymentHandshakeException
    extends jakarta.websocket.DeploymentException
    The DeploymentException wrapping the HandshakeException and makes the HTTP status code accessible directly.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getHttpStatusCode()
      Get the error code.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DeploymentHandshakeException

        public DeploymentHandshakeException​(java.lang.String message)
      • DeploymentHandshakeException

        public DeploymentHandshakeException​(java.lang.String message,
                                            org.glassfish.tyrus.core.HandshakeException cause)
    • Method Detail

      • getHttpStatusCode

        public int getHttpStatusCode()
        Get the error code.
        Returns:
        the error code.