Class SmartsheetRestException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getDetail()
      Returns the error detail
      int getErrorCode()
      Returns the error code.
      java.lang.String getRefId()
      Retruns the refId.
      • 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

      • SmartsheetRestException

        public SmartsheetRestException​(Error error)

        Constructor.

        Parameters:
        error - the Error object from Smartsheet REST API
    • Method Detail

      • getErrorCode

        public int getErrorCode()

        Returns the error code.

        Returns:
        the error code
      • getRefId

        public java.lang.String getRefId()

        Retruns the refId.

        Returns:
        the refId
      • getDetail

        public java.lang.Object getDetail()

        Returns the error detail

        Returns:
        the error detail