org.springframework.social
Class InsufficientPermissionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.social.SocialException
org.springframework.social.ApiException
org.springframework.social.OperationNotPermittedException
org.springframework.social.InsufficientPermissionException
- All Implemented Interfaces:
- java.io.Serializable
public class InsufficientPermissionException
- extends OperationNotPermittedException
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.
- Author:
- Craig Walls
- See Also:
- Serialized Form
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 |
InsufficientPermissionException
public InsufficientPermissionException()
InsufficientPermissionException
public InsufficientPermissionException(java.lang.String requiredPermission)
getRequiredPermission
public java.lang.String getRequiredPermission()
- The permission required to access the resource.
May be null if the required permission is unknown.