net.walend.lyophil
Class KeyDuplicatedException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--net.walend.lang.NestedException
|
+--net.walend.lyophil.LyophilException
|
+--net.walend.lyophil.KeyDuplicatedException
- All Implemented Interfaces:
- HasNestedThrowable, java.io.Serializable
- public class KeyDuplicatedException
- extends LyophilException
- implements java.io.Serializable
Throw this exception when a Freezer can not Freeze a given Freezable.
- Since:
- 20010108
- Author:
- David Walend
Field Summary |
protected java.lang.Object |
key
|
protected java.io.Serializable |
oldking
|
protected java.io.Serializable |
pretender
|
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary |
KeyDuplicatedException(java.lang.Object key,
java.io.Serializable id1,
java.io.Serializable id2)
Only use this constructor for Serialization. |
KeyDuplicatedException(java.lang.Object key,
java.io.Serializable id1,
java.io.Serializable id2,
java.lang.String message)
|
KeyDuplicatedException(java.lang.Object key,
java.io.Serializable id1,
java.io.Serializable id2,
java.lang.String message,
java.lang.Throwable nester)
|
KeyDuplicatedException(java.lang.Object key,
java.io.Serializable id1,
java.io.Serializable id2,
java.lang.Throwable nester)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
key
protected java.lang.Object key
oldking
protected java.io.Serializable oldking
pretender
protected java.io.Serializable pretender
KeyDuplicatedException
public KeyDuplicatedException(java.lang.Object key,
java.io.Serializable id1,
java.io.Serializable id2)
- Only use this constructor for Serialization.
KeyDuplicatedException
public KeyDuplicatedException(java.lang.Object key,
java.io.Serializable id1,
java.io.Serializable id2,
java.lang.String message)
KeyDuplicatedException
public KeyDuplicatedException(java.lang.Object key,
java.io.Serializable id1,
java.io.Serializable id2,
java.lang.Throwable nester)
KeyDuplicatedException
public KeyDuplicatedException(java.lang.Object key,
java.io.Serializable id1,
java.io.Serializable id2,
java.lang.String message,
java.lang.Throwable nester)
getMessage
public java.lang.String getMessage()
- Description copied from class:
NestedException
- Returns this exception's message, followed by the nested Throwable's message, surrounded by []'s.
- Overrides:
getMessage
in class NestedException
getKey
public java.lang.Object getKey()
getExistingIdentifier
public java.io.Serializable getExistingIdentifier()
getNewIdentifier
public java.io.Serializable getNewIdentifier()
Copyright (c) 2000, 2001, David Walend