Class CommunicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sportradar.unifiedodds.sdk.internal.exceptions.SdkInternalException
com.sportradar.unifiedodds.sdk.exceptions.CommunicationException
- All Implemented Interfaces:
Serializable
The following exception gets thrown when a communication error gets detected(API request failure,...)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommunicationException(String message, String url) CommunicationException(String message, String url, int httpStatusCode) CommunicationException(String message, String url, int httpStatusCode, Throwable cause) CommunicationException(String message, String url, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommunicationException
-
CommunicationException
-
CommunicationException
-
CommunicationException
-
-
Method Details
-
getUrl
-
getHttpStatusCode
public int getHttpStatusCode()
-