Package com.smartsheet.api
Class ServiceUnavailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.smartsheet.api.SmartsheetException
-
- com.smartsheet.api.SmartsheetRestException
-
- com.smartsheet.api.ServiceUnavailableException
-
- All Implemented Interfaces:
java.io.Serializable
public class ServiceUnavailableException extends SmartsheetRestException
This is the exception to indicate a service unavailable error (possibly due to rate limiting) returned from the Smartsheet REST API.
Basically this exception will be thrown when the Smartsheet REST API responds with "503 SERVICE UNAVAILABLE".
Thread safety: Exceptions are not thread safe.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceUnavailableException(Error error)
Constructor.
-
Method Summary
-
Methods inherited from class com.smartsheet.api.SmartsheetRestException
getDetail, getErrorCode, getRefId
-
-
-
-
Constructor Detail
-
ServiceUnavailableException
public ServiceUnavailableException(Error error)
Constructor.- Parameters:
error
- the Error object from Smartsheet REST API
-
-