public class SmartsheetRestException extends SmartsheetException
This is the exception to indicate errors (Error objects of Smartsheet REST API) returned from Smartsheet REST API.
Thread safety: Exceptions are not thread safe.
| Constructor and Description |
|---|
SmartsheetRestException(Error error)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getDetail()
Returns the error detail
|
int |
getErrorCode()
Returns the error code.
|
String |
getRefId()
Retruns the refId.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SmartsheetRestException(Error error)
Constructor.
error - the Error object from Smartsheet REST APICopyright © 2014–2019 Smartsheet. All rights reserved.