Class SdkException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sportradar.livedata.sdk.common.exceptions.SdkException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidEntityException
,MessageException
,MissingPropertyFileException
,PropertyException
,ProtocolException
,SdkFatalException
,UnknownEnumException
public class SdkException extends Exception implements Serializable
Root exception of the SDK hierarchy- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SdkException(String message)
Initializes a new instance of theSdkException
class.SdkException(String message, Throwable cause)
Initializes a new instance of theSdkException
class.SdkException(Throwable cause)
Initializes a new instance of theSdkException
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
-
SdkException
public SdkException(String message)
Initializes a new instance of theSdkException
class.- Parameters:
message
- the detail message (which is saved for later retrieval by thegetMessage()
method).
-
SdkException
public SdkException(Throwable cause)
Initializes a new instance of theSdkException
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.)
-
SdkException
public SdkException(String message, Throwable cause)
Initializes a new instance of theSdkException
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.)
-
-