net.dpml.lang
Class DuplicateKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.dpml.lang.DuplicateKeyException
- All Implemented Interfaces:
- Serializable
- public class DuplicateKeyException
- extends Exception
Exception to indicate an error arrising from the use of a duplicate key.
- Version:
- 1.0.2
- Author:
- Digital Product Meta Library
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DuplicateKeyException
public DuplicateKeyException(String key)
- Construct a new
DuplicateKeyException
instance.
- Parameters:
key
- the duplicate key
getKey
public String getKey()
- Return the key.
- Returns:
- the key