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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DuplicateConnectionException(ConnectionKey connectionKey)
public ConnectionKey getConnectionKey()