public final class DuplicateConnectionException extends ConnectionRepositoryException
ConnectionRepository when attempting to add a Connection and a connection already exists with the given key.| Constructor and Description |
|---|
DuplicateConnectionException(ConnectionKey connectionKey) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionKey |
getConnectionKey()
The connection key that already exists.
|
public DuplicateConnectionException(ConnectionKey connectionKey)
public ConnectionKey getConnectionKey()