org.springframework.social.connect
Class NoSuchConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.social.connect.NoSuchConnectionException
All Implemented Interfaces:
java.io.Serializable

public final class NoSuchConnectionException
extends java.lang.RuntimeException

Thrown by a ConnectionRepository when attempting to fetch a ServiceProviderConnection and no such connection exists with the provided key.

See Also:
ConnectionRepository.findConnection(ConnectionKey), Serialized Form

Constructor Summary
NoSuchConnectionException(ConnectionKey connectionKey)
           
 
Method Summary
 ConnectionKey getConnectionKey()
          The invalid key value.
 
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

NoSuchConnectionException

public NoSuchConnectionException(ConnectionKey connectionKey)
Method Detail

getConnectionKey

public ConnectionKey getConnectionKey()
The invalid key value.