public static class ConfigurationApplication.IgnoreErrorHandler extends java.lang.Object implements ErrorHandler
CANCEL, CONTINUE, RETHROW
Constructor and Description |
---|
IgnoreErrorHandler() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.