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 |
|---|---|
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 APIpublic int getErrorCode()
Returns the error code.
public String getRefId()
Retruns the refId.
Copyright © 2014–2017 Smartsheet. All rights reserved.