Class ProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sportradar.livedata.sdk.common.exceptions.SdkException
com.sportradar.livedata.sdk.proto.common.ProtocolException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NoDataProtocolException
An
Exception derived class which is thrown when an un-expected situation is encountered in the protocol layer code.- Author:
- uros.bregar
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProtocolException(String message) Initializes a new instance of theProtocolExceptionclass.ProtocolException(String message, Throwable cause) Initializes a new instance of theProtocolExceptionclass.ProtocolException(Throwable cause) Initializes a new instance of theProtocolExceptionclass. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProtocolException
Initializes a new instance of theProtocolExceptionclass.- Parameters:
message- the detail message (which is saved for later retrieval by thegetMessage()method).
-
ProtocolException
Initializes a new instance of theProtocolExceptionclass.- Parameters:
cause- the cause (which is saved for later retrieval by the {code getCause()} method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
ProtocolException
Initializes a new instance of theProtocolExceptionclass.- Parameters:
message- the detail message (which is saved for later retrieval by thegetMessage()method).cause- the cause (which is saved for later retrieval by the {code getCause()} method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-