public abstract class InstanceException extends ModelException
| Modifier | Constructor and Description |
|---|---|
protected |
InstanceException(java.lang.String specificMessage,
java.lang.Object key,
java.lang.Class clazz)
Creates an exception, informing about the message, the key of the object
that causes it and the object class name.
|
protected |
InstanceException(java.lang.String specificMessage,
java.lang.Object key,
java.lang.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 |
|---|---|
java.lang.String |
getClassName()
Returns the class name of the object that caused the exception.
|
java.lang.Object |
getKey()
Returns the key of the object that caused the exception.
|
protected InstanceException(java.lang.String specificMessage,
java.lang.Object key,
java.lang.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(java.lang.String specificMessage,
java.lang.Object key,
java.lang.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 © 2024 Denodo Technologies. All rights reserved.