|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.actor.gui.ConfigurationApplication.IgnoreErrorHandler
public static class ConfigurationApplication.IgnoreErrorHandler
Error Handler that ignore errors.
Field Summary |
---|
Fields inherited from interface ptolemy.moml.ErrorHandler |
---|
CANCEL, CONTINUE, RETHROW |
Constructor Summary | |
---|---|
ConfigurationApplication.IgnoreErrorHandler()
|
Method Summary | |
---|---|
void |
enableErrorSkipping(boolean enable)
Enable or disable skipping of errors. |
int |
handleError(java.lang.String element,
NamedObj context,
java.lang.Throwable exception)
Ignore the error. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationApplication.IgnoreErrorHandler()
Method Detail |
---|
public void enableErrorSkipping(boolean enable)
enableErrorSkipping
in interface ErrorHandler
enable
- True to enable skipping, false to disable.public int handleError(java.lang.String element, NamedObj context, java.lang.Throwable exception)
handleError
in interface ErrorHandler
element
- The XML element that triggered the error.context
- The container object for the element.exception
- The exception that was thrown.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |