info.magnolia.nodebuilder.task
Class TaskLogErrorHandler
java.lang.Object
info.magnolia.nodebuilder.AbstractErrorHandler
info.magnolia.nodebuilder.task.TaskLogErrorHandler
- All Implemented Interfaces:
- ErrorHandler
Deprecated. since 5.3 - use TaskLogErrorHandler
instead.
public class TaskLogErrorHandler
- extends AbstractErrorHandler
An ErrorHandler which logs handled errors to the InstallContext
as warnings, and wraps unhandled exceptions in NodeOperationException.
Method Summary |
void |
report(String message)
Deprecated. 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 |
TaskLogErrorHandler
public TaskLogErrorHandler(InstallContext installCtx)
- Deprecated.
report
public void report(String message)
- Deprecated.
- 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, ...)
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.