Interface TreeTraverser.ErrorHandler
- Enclosing class:
TreeTraverser
public static interface TreeTraverser.ErrorHandler
Error handler for handling
RepositoryExceptions occurring on
traversal. The predefined IGNORE error handler can be used to
ignore all exceptions.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TreeTraverser.ErrorHandlerPredefined error handler which ignores all exceptions. -
Method Summary
Modifier and TypeMethodDescriptionvoidcall(Item item, RepositoryException exception) This call back method is called whenever an error occurs while traversing.
-
Field Details
-
IGNORE
Predefined error handler which ignores all exceptions.
-
-
Method Details
-
call
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.
-