info.magnolia.jcr.nodebuilder
Class StrictErrorHandler
java.lang.Object
info.magnolia.jcr.nodebuilder.AbstractErrorHandler
info.magnolia.jcr.nodebuilder.StrictErrorHandler
- All Implemented Interfaces:
- ErrorHandler
public class StrictErrorHandler
- extends AbstractErrorHandler
An ErrorHandler which interrupts operations as soon as one error happens,
by throwing a NodeOperationException.
- Version:
- $Id$
Method Summary |
void |
report(String message)
The operation calling this method is expected to pass a fully formed message;
it should ideally contain some context information about the operation that
caused an issue. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StrictErrorHandler
public StrictErrorHandler()
report
public void report(String message)
throws NodeOperationException
- Description copied from interface:
ErrorHandler
- The operation calling this method is expected to pass a fully formed message;
it should ideally contain some context information about the operation that
caused an issue. The ErrorHandler implementation will decide what to do
with it. (log, throw a NodeOperationException, ...)
- Throws:
NodeOperationException
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.