Class DuplicateKeyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.magicwerk.brownies.collections.exceptions.KeyException
-
- org.magicwerk.brownies.collections.exceptions.DuplicateKeyException
-
- All Implemented Interfaces:
java.io.Serializable
public class DuplicateKeyException extends KeyException
Exception thrown if an action is not allowed due to a duplicate key error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicateKeyException(java.lang.Object key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getKey()
-
-
-
Field Detail
-
MESSAGE
public static final java.lang.String MESSAGE
- See Also:
- Constant Field Values
-
key
java.lang.Object key
Key which is not allowed due to a duplicate
-
-