Class DataProviderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sportradar.unifiedodds.sdk.internal.exceptions.SdkInternalException
com.sportradar.unifiedodds.sdk.internal.exceptions.DataProviderException
- All Implemented Interfaces:
Serializable
The following exception gets thrown when a communication error is detected (bad/empty API response,...)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDataProviderException(String message) DataProviderException(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptioninttryExtractCommunicationExceptionHttpStatusCode(int defaultValue) tryExtractCommunicationExceptionUrl(String defaultUrl) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataProviderException
-
DataProviderException
-
-
Method Details
-
tryExtractCommunicationExceptionHttpStatusCode
public int tryExtractCommunicationExceptionHttpStatusCode(int defaultValue) -
tryExtractCommunicationExceptionUrl
-