public class DiffbotAPIException extends DiffbotException
| Constructor and Description |
|---|
DiffbotAPIException(int errorCode,
String message)
Constructs a new exception with the specified error code and detail message.
|
DiffbotAPIException(int errorCode,
String message,
Throwable cause)
Constructs a new exception with the specified error code, detail message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DiffbotAPIException(int errorCode,
String message,
Throwable cause)
Note that the detail message associated with cause is not automatically incorporated in this
exception's detail message.
errorCode - Diffbot API error codemessage - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null
value is permitted, and indicates that the cause is nonexistent or unknown.)public DiffbotAPIException(int errorCode,
String message)
Throwable.initCause(java.lang.Throwable).errorCode - Diffbot API eror codemessage - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage()
method.Copyright © 2013. All Rights Reserved.