Class WebSocketHandshakeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- io.fabric8.kubernetes.client.http.WebSocketHandshakeException
-
- All Implemented Interfaces:
Serializable
public final class WebSocketHandshakeException extends IOException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebSocketHandshakeException(WebSocketUpgradeResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebSocketUpgradeResponse
getResponse()
Get the response, which includes the code of failure.WebSocketHandshakeException
initCause(Throwable cause)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
WebSocketHandshakeException
public WebSocketHandshakeException(WebSocketUpgradeResponse response)
-
-
Method Detail
-
getResponse
public WebSocketUpgradeResponse getResponse()
Get the response, which includes the code of failure.- Returns:
- the response, never null
-
initCause
public WebSocketHandshakeException initCause(Throwable cause)
-
-