Package com.smartsheet.api
Class SmartsheetRestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.smartsheet.api.SmartsheetException
-
- com.smartsheet.api.SmartsheetRestException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AuthorizationException
,InvalidRequestException
,ResourceNotFoundException
,ServiceUnavailableException
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SmartsheetRestException(Error error)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getDetail()
Returns the error detailint
getErrorCode()
Returns the error code.java.lang.String
getRefId()
Retruns the refId.
-
-
-
Constructor Detail
-
SmartsheetRestException
public SmartsheetRestException(Error error)
Constructor.
- Parameters:
error
- the Error object from Smartsheet REST API
-
-