public class DuplicateInstanceException extends InstanceException
| Constructor and Description |
|---|
DuplicateInstanceException(Object key,
Class clazz)
Creates a DuplicateInstanceException specifying the key and the class
of the instance that already exists.
|
DuplicateInstanceException(Object key,
String className)
Creates a DuplicateInstanceException specifying the key and the class
name of the instance that already exists.
|
getClassName, getKeyaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DuplicateInstanceException(Object key, String className)
key - the key of the instance that already exists.className - the class name of the instance that already exists.public DuplicateInstanceException(Object key, Class clazz)
key - the key of the instance that already exists.clazz - the class of the instance that already exists.Copyright © 2024 Denodo Technologies. All rights reserved.