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
public class ProtocolException extends SdkException
AnException
derived class which is thrown when an un-expected situation is encountered in the protocol layer code.- Author:
- uros.bregar
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProtocolException(String message)
Initializes a new instance of theProtocolException
class.ProtocolException(String message, Throwable cause)
Initializes a new instance of theProtocolException
class.ProtocolException(Throwable cause)
Initializes a new instance of theProtocolException
class.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ProtocolException
public ProtocolException(String message)
Initializes a new instance of theProtocolException
class.- Parameters:
message
- the detail message (which is saved for later retrieval by thegetMessage()
method).
-
ProtocolException
public ProtocolException(Throwable cause)
Initializes a new instance of theProtocolException
class.- 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
public ProtocolException(String message, Throwable cause)
Initializes a new instance of theProtocolException
class.- 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.)
-
-