Spring Social

org.springframework.social.connect
Class NotConnectedException

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.connect.ConnectionRepositoryException
                      extended by org.springframework.social.connect.NotConnectedException
All Implemented Interfaces:
java.io.Serializable

public class NotConnectedException
extends ConnectionRepositoryException

Thrown by a ConnectionRepository when attempting to fetch a "primary" connection and the user is not connected to the provider in question.

Author:
Keith Donald
See Also:
ConnectionRepository.getPrimaryConnection(Class), Serialized Form

Constructor Summary
NotConnectedException(java.lang.String providerId)
           
 
Method Summary
 java.lang.String getProviderId()
          The id of the provider the current user is not connected to.
 
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

NotConnectedException

public NotConnectedException(java.lang.String providerId)
Method Detail

getProviderId

public java.lang.String getProviderId()
The id of the provider the current user is not connected to.


Spring Social