org.springframework.social.facebook.api
Class InsufficientPermissionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.social.SocialException
                  extended by org.springframework.social.facebook.api.InsufficientPermissionException
All Implemented Interfaces:
java.io.Serializable

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

InsufficientPermissionException

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

getRequiredPermission

public java.lang.String getRequiredPermission()