Spring Social

Class NotConnectedException

  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:

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.

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


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


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

Spring Social