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