Class WebSocketConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sportradar.mbs.sdk.exceptions.SdkException
com.sportradar.mbs.sdk.exceptions.WebSocketConnectionException
- All Implemented Interfaces:
Serializable
Represents an exception that occurs when there is a failure in establishing a WebSocket connection.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new WebSocketConnectionException with the specified cause.WebSocketConnectionException
(String message) Constructs a new WebSocketConnectionException with the specified message. -
Method Summary
Methods inherited from class com.sportradar.mbs.sdk.exceptions.SdkException
getCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WebSocketConnectionException
Constructs a new WebSocketConnectionException with the specified cause.- Parameters:
cause
- the cause of the exception
-
WebSocketConnectionException
Constructs a new WebSocketConnectionException with the specified message.- Parameters:
message
- the detail message
-