public static interface TreeTraverser.ErrorHandler
RepositoryException
s occurring on
traversal. The predefined IGNORE
error handler can be used to
ignore all exceptions.Modifier and Type | Field and Description |
---|---|
static TreeTraverser.ErrorHandler |
IGNORE
Predefined error handler which ignores all exceptions.
|
Modifier and Type | Method and Description |
---|---|
void |
call(Item item,
RepositoryException exception)
This call back method is called whenever an error occurs while
traversing.
|
static final TreeTraverser.ErrorHandler IGNORE
void call(Item item, RepositoryException exception)
item
- The item which was the target of an operation which
failed and caused the exception.exception
- The exception which occurred.Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.