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

public final class DuplicateConnectionException
extends java.lang.RuntimeException

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

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.