Class AuthorizationException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    AccessTokenExpiredException

    public class AuthorizationException
    extends SmartsheetRestException

    This is the exception to indicate authorization (access token) related errors returned from Smartsheet REST API.

    Basically this exception will be thrown when the Smartsheet REST API responds with "401 NOT AUTHORIZED" / "403 FORBIDDEN"

    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

      • AuthorizationException

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