Class HandshakeFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.socket.server.HandshakeFailureException
- All Implemented Interfaces:
- Serializable
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.
- Since:
- 4.0
- Author:
- Rossen Stoyanchev
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionHandshakeFailureException(String message) HandshakeFailureException(String message, Throwable cause) 
- 
Method SummaryMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMessage, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
HandshakeFailureException
- 
HandshakeFailureException
 
-