org.springframework.social.twitter.api
Class FriendshipFailureException

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.twitter.api.FriendshipFailureException
All Implemented Interfaces:
java.io.Serializable

public class FriendshipFailureException
extends SocialException

An exception that is thrown when a follow or and unfollow fails usually because the authenticated user is already following the specified user or tried to unfollow the user not already following.

See Also:
Serialized Form

Constructor Summary
FriendshipFailureException(java.lang.String message)
           
FriendshipFailureException(java.lang.String message, java.lang.Throwable cause)
           
 
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

FriendshipFailureException

public FriendshipFailureException(java.lang.String message)

FriendshipFailureException

public FriendshipFailureException(java.lang.String message,
                                  java.lang.Throwable cause)