org.springframework.social.facebook.api
Class NotAFriendException

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.OperationNotPermittedException
                          extended by org.springframework.social.facebook.api.NotAFriendException
All Implemented Interfaces:
Serializable

public class NotAFriendException
extends org.springframework.social.OperationNotPermittedException

Exception thrown when attempting an operation that requires a target user to be a friend of the authenticated user.

See Also:
Serialized Form

Constructor Summary
NotAFriendException(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

NotAFriendException

public NotAFriendException(String message)