Class InsufficientPermissionException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by
                  extended by
All Implemented Interfaces:

public class InsufficientPermissionException
extends SocialException

Exception thrown when attempting an operation that requires a permission not granted to the caller. To remedy this kind of error, the application should attempt to reauthorize requesting the additional permission scope and then try again.

See Also:
Serialized Form

Constructor Summary
InsufficientPermissionException(java.lang.String message, java.lang.String requiredPermission)
Method Summary
 java.lang.String getRequiredPermission()
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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


public InsufficientPermissionException(java.lang.String message,
                                       java.lang.String requiredPermission)
Method Detail


public java.lang.String getRequiredPermission()