public abstract class InstanceException extends ModelException
Modifier | Constructor and Description |
---|---|
protected |
InstanceException(String specificMessage,
Object key,
Class clazz)
Creates an exception, informing about the message, the key of the object
that causes it and the object class name.
|
protected |
InstanceException(String specificMessage,
Object key,
String className)
Creates an exception, informing about the message, the key of the object
that causes it and the object class name.
|
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Returns the class name of the object that caused the exception.
|
Object |
getKey()
Returns the key of the object that caused the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected InstanceException(String specificMessage, Object key, Class clazz)
specificMessage
- the error message.key
- the key of the object that produces the error.clazz
- the class of the object that produces the error.protected InstanceException(String specificMessage, Object key, String className)
specificMessage
- the error message.key
- the key of the object that produces the error.className
- the class name of the object that produces the error.Copyright © 2025 Denodo Technologies. All rights reserved.