Spring Social

org.springframework.social.connect
Class DuplicateConnectionException

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

public final class DuplicateConnectionException
extends ConnectionRepositoryException

Thrown by a ConnectionRepository when attempting to add a Connection and a connection already exists with the given key.

Author:
Keith Donald
See Also:
ConnectionRepository.addConnection(Connection), Serialized Form

Constructor Summary
DuplicateConnectionException(ConnectionKey connectionKey)
           
 
Method Summary
 ConnectionKey getConnectionKey()
          The connection key that already exists.
 
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

DuplicateConnectionException

public DuplicateConnectionException(ConnectionKey connectionKey)
Method Detail

getConnectionKey

public ConnectionKey getConnectionKey()
The connection key that already exists.


Spring Social