Class NoDataProtocolException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sportradar.livedata.sdk.common.exceptions.SdkException
-
- com.sportradar.livedata.sdk.proto.common.ProtocolException
-
- com.sportradar.livedata.sdk.proto.common.NoDataProtocolException
-
- All Implemented Interfaces:
Serializable
public class NoDataProtocolException extends ProtocolException
AnProtocolException
derived class which is thrown when no data is available- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoDataProtocolException(String message)
Initializes a new instance of theNoDataProtocolException
class.NoDataProtocolException(String message, Throwable cause)
Initializes a new instance of theNoDataProtocolException
class.NoDataProtocolException(Throwable cause)
Initializes a new instance of theNoDataProtocolException
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
-
NoDataProtocolException
public NoDataProtocolException(String message)
Initializes a new instance of theNoDataProtocolException
class.- Parameters:
message
- the detail message (which is saved for later retrieval by thegetMessage()
method).
-
NoDataProtocolException
public NoDataProtocolException(Throwable cause)
Initializes a new instance of theNoDataProtocolException
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.)
-
NoDataProtocolException
public NoDataProtocolException(String message, Throwable cause)
Initializes a new instance of theNoDataProtocolException
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.)
-
-