Spring Social

org.springframework.social
Class NotAuthorizedException

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.ApiException
                      extended by org.springframework.social.NotAuthorizedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MissingAuthorizationException, RejectedAuthorizationException

public class NotAuthorizedException
extends ApiException

Indicates the client is not authorized to invoke the API. This can occur when: - when invoking an API operation with a revoked or expired access token - when invoking an operation that requires authorization without providing authorization credentials.

Author:
Craig Walls
See Also:
Serialized Form

Constructor Summary
NotAuthorizedException(java.lang.String providerId, java.lang.String message)
           
 
Method Summary
 
Methods inherited from class org.springframework.social.ApiException
getProviderId
 
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

NotAuthorizedException

public NotAuthorizedException(java.lang.String providerId,
                              java.lang.String message)

Spring Social