public class TraktTvException extends RuntimeException
| Constructor and Description |
|---|
TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response)
Generate an API exception
|
TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
int responseCode,
String url)
Generate an API exception
|
TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
int responseCode,
String url,
Throwable cause)
Generate an API exception
|
TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
int responseCode,
URL url)
Generate an API exception
|
TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
int responseCode,
URL url,
Throwable cause)
Generate an API exception
|
TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
String url)
Generate an API exception
|
TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
String url,
Throwable cause)
Generate an API exception
|
TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
Throwable cause)
Generate an API exception
|
TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
URL url)
Generate an API exception
|
TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
URL url,
Throwable cause)
Generate an API exception
|
| Modifier and Type | Method and Description |
|---|---|
org.yamj.api.common.exception.ApiExceptionType |
getExceptionType()
The enumerated type of the exception
|
String |
getResponse()
The response message associated with the exception
|
int |
getResponseCode()
The response code, such as the HTTP status from a web request
|
String |
getUrl()
The URL that cause the exception or is associated with it
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response)
exceptionType - The type of the exception to throwresponse - A response message associated with the exceptionpublic TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
Throwable cause)
exceptionType - The type of the exception to throwresponse - A response message associated with the exceptioncause - The underlying exception that was the cause of this API Exceptionpublic TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
URL url)
exceptionType - The type of the exception to throwresponse - A response message associated with the exceptionurl - The URL that cause the exception or is associated with itpublic TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
int responseCode,
URL url)
exceptionType - The type of the exception to throwresponse - A response message associated with the exceptionresponseCode - A response code, such as the HTTP status from a web requesturl - The URL that cause the exception or is associated with itpublic TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
String url)
exceptionType - The type of the exception to throwresponse - A response message associated with the exceptionurl - The URL that cause the exception or is associated with itpublic TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
int responseCode,
String url)
exceptionType - The type of the exception to throwresponse - A response message associated with the exceptionresponseCode - A response code, such as the HTTP status from a web requesturl - The URL that cause the exception or is associated with itpublic TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
URL url,
Throwable cause)
exceptionType - The type of the exception to throwresponse - A response message associated with the exceptionurl - The URL that cause the exception or is associated with itcause - The underlying exception that was the cause of this API Exceptionpublic TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
int responseCode,
URL url,
Throwable cause)
exceptionType - The type of the exception to throwresponse - A response message associated with the exceptionresponseCode - A response code, such as the HTTP status from a web requesturl - The URL that cause the exception or is associated with itcause - The underlying exception that was the cause of this API Exceptionpublic TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
String url,
Throwable cause)
exceptionType - The type of the exception to throwresponse - A response message associated with the exceptionurl - The URL that cause the exception or is associated with itcause - The underlying exception that was the cause of this API Exceptionpublic TraktTvException(org.yamj.api.common.exception.ApiExceptionType exceptionType,
String response,
int responseCode,
String url,
Throwable cause)
exceptionType - The type of the exception to throwresponse - A response message associated with the exceptionresponseCode - A response code, such as the HTTP status from a web requesturl - The URL that cause the exception or is associated with itcause - The underlying exception that was the cause of this API Exceptionpublic org.yamj.api.common.exception.ApiExceptionType getExceptionType()
public String getResponse()
public int getResponseCode()
public String getUrl()
Copyright © 2016-2017. All Rights Reserved.