Package com.denodo.util.exceptions
Class InstanceNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.denodo.util.exceptions.ModelException
com.denodo.util.exceptions.InstanceException
com.denodo.util.exceptions.InstanceNotFoundException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ViewNotFoundException
Signals that the requested operation failed because no instance with the
specified identifier could be found.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstanceNotFoundException(Object key, Class clazz) Creates an InstanceNotFoundException specifying the key and the class of the instance that could not be found.InstanceNotFoundException(Object key, String className) Creates an InstanceNotFoundException specifying the key and the class name of the instance that could not be found. -
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
-
InstanceNotFoundException
Creates an InstanceNotFoundException specifying the key and the class name of the instance that could not be found.- Parameters:
key- the key of the instance that could not be found.className- the class name of the instance that could not be found.
-
InstanceNotFoundException
Creates an InstanceNotFoundException specifying the key and the class of the instance that could not be found.- Parameters:
key- the key of the instance that could not be found.clazz- the class of the instance that could not be found.
-