|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.nodebuilder.AbstractErrorHandler info.magnolia.nodebuilder.StrictErrorHandler
public class StrictErrorHandler
An ErrorHandler which interrupts operations as soon as one error happens, by throwing a NodeOperationException.
Constructor Summary | |
---|---|
StrictErrorHandler()
|
Method Summary | |
---|---|
void |
report(java.lang.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. |
void |
report(java.lang.String message,
java.lang.Throwable cause)
Default implementation dropping the cause for those handlers that care only about the message. |
Methods inherited from class info.magnolia.nodebuilder.AbstractErrorHandler |
---|
handle, unhandledRepositoryException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StrictErrorHandler()
Method Detail |
---|
public void report(java.lang.String message) throws NodeOperationException
ErrorHandler
NodeOperationException
public void report(java.lang.String message, java.lang.Throwable cause) throws NodeOperationException
AbstractErrorHandler
report
in interface ErrorHandler
report
in class AbstractErrorHandler
NodeOperationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |