Spring Social

Class NotAuthorizedException

  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:
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.

Craig Walls
See Also:
Serialized Form

Constructor Summary
NotAuthorizedException(java.lang.String message)
Method Summary
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 NotAuthorizedException(java.lang.String message)

Spring Social