|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.metamatrix.core.MetaMatrixCoreException org.teiid.adminapi.AdminException
public abstract class AdminException
AdminException
is the base exception for the admin package. Many *Admin methods throw this
exception. Instances will be one of the concrete subtypes:
AdminComponentException
or AdminProcessingException
AdminException
s may contain multiple child exceptions. An example
of this could be when performing an admin action results in multiple failures. Admin
clients should be aware of this and use the hasMultiple()
method to
determine if they need to check the child exceptions.
Field Summary |
---|
Fields inherited from class com.metamatrix.core.MetaMatrixCoreException |
---|
code |
Method Summary | |
---|---|
void |
addChild(AdminException child)
Add a child AdminException for a particular failure
if and action resulted in multiple failures. |
java.util.List |
getChildren()
Returns a non-null list of failures ( AdminException s), one for each
component that failed. |
boolean |
hasMultiple()
Determine whether this exception is representing mutliple component failures. |
Methods inherited from class com.metamatrix.core.MetaMatrixCoreException |
---|
getCode, getMessage |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean hasMultiple()
true
iff this exception contains multiple
component failure exceptions.public java.util.List getChildren()
AdminException
s), one for each
component that failed.
The list will have members when hasMultiple()
returns true
.
public void addChild(AdminException child)
AdminException
for a particular failure
if and action resulted in multiple failures.
child
- a specific failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |