Class HandshakeFailureException

  • All Implemented Interfaces:

    public class HandshakeFailureException
    extends NestedRuntimeException
    Thrown when handshake processing failed to complete due to an internal, unrecoverable error. This implies a server error (HTTP status code 500) as opposed to a failure in the handshake negotiation.

    By contrast, when handshake negotiation fails, the response status code will be 200 and the response headers and body will have been updated to reflect the cause for the failure. A HandshakeHandler implementation will have protected methods to customize updates to the response in those cases.

    Rossen Stoyanchev
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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

      • HandshakeFailureException

        public HandshakeFailureException(java.lang.String message)
      • HandshakeFailureException

        public HandshakeFailureException(java.lang.String message,
                                         java.lang.Throwable cause)