public class DuplicateKeyException extends BlueDbException
Constructor and Description |
---|
DuplicateKeyException(java.lang.String message,
BlueKey key)
Exception caused by inserting a value for a key that already has a value associated with it
|
Modifier and Type | Method and Description |
---|---|
BlueKey |
getKey()
Get the key that already has a value associated with it
|
public DuplicateKeyException(java.lang.String message, BlueKey key)
message
- a message describing what happenedkey
- the key that already has a value associated with itpublic BlueKey getKey()