Package com.denodo.util.exceptions
Class DuplicateInstanceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.denodo.util.exceptions.ModelException
com.denodo.util.exceptions.InstanceException
com.denodo.util.exceptions.DuplicateInstanceException
- All Implemented Interfaces:
Serializable
Signals that the requested operation failed because an instance with the
same identifier already exists.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDuplicateInstanceException(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. -
Method Summary
Methods inherited from class com.denodo.util.exceptions.InstanceException
getClassName, getKeyMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DuplicateInstanceException
Creates a DuplicateInstanceException specifying the key and the class name of the instance that already exists.- Parameters:
key- the key of the instance that already exists.className- the class name of the instance that already exists.
-
DuplicateInstanceException
Creates a DuplicateInstanceException specifying the key and the class of the instance that already exists.- Parameters:
key- the key of the instance that already exists.clazz- the class of the instance that already exists.
-