Class 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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidRequestException

        public InvalidRequestException​(Error error)
        Constructor.
        Parameters:
        error - the Error object from Smartsheet REST API