Interface TreeTraverser.ErrorHandler
-
- Enclosing class:
- TreeTraverser
public static interface TreeTraverser.ErrorHandlerError handler for handlingRepositoryExceptions occurring on traversal. The predefinedIGNOREerror handler can be used to ignore all exceptions.
-
-
Field Summary
Fields Modifier and Type Field Description static TreeTraverser.ErrorHandlerIGNOREPredefined error handler which ignores all exceptions.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcall(Item item, RepositoryException exception)This call back method is called whenever an error occurs while traversing.
-
-
-
Field Detail
-
IGNORE
static final TreeTraverser.ErrorHandler IGNORE
Predefined error handler which ignores all exceptions.
-
-
Method Detail
-
call
void call(Item item, RepositoryException exception)
This call back method is called whenever an error occurs while traversing.- Parameters:
item- The item which was the target of an operation which failed and caused the exception.exception- The exception which occurred.
-
-