|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.knime.core.util.DuplicateKeyException
public class DuplicateKeyException
This exception is thrown by the DuplicateChecker
if a duplicate key
has been detected.
Constructor Summary | |
---|---|
DuplicateKeyException(DuplicateKeyException cause)
Creates new exception based on a reference exception (which may have been generated by a different thread). |
|
DuplicateKeyException(String key)
Creates a new exception with predefined message. |
|
DuplicateKeyException(String message,
String key)
Creates a new exception. |
Method Summary | |
---|---|
String |
getKey()
Returns the duplicate key. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DuplicateKeyException(String key)
key
- the duplicate keypublic DuplicateKeyException(String message, String key)
message
- The exception message, may or may not include
key
key
- the duplicate keypublic DuplicateKeyException(DuplicateKeyException cause)
cause
- The cause for this duplicate key exception.Method Detail |
---|
public String getKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |