AbstractErrorHandler
instead.public abstract class AbstractErrorHandler extends Object implements ErrorHandler
Constructor and Description |
---|
AbstractErrorHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
handle(javax.jcr.RepositoryException e,
Content context)
Deprecated.
The operation calling this method isn't expected to do anything here; the ErrorHandler implementation will attempt to build a fully formed message, then decide what to do with it.
|
void |
report(String message,
Throwable cause)
Deprecated.
Default implementation dropping the cause for those handlers that care only about the message.
|
protected void |
unhandledRepositoryException(javax.jcr.RepositoryException e,
Content context)
Deprecated.
Override this method if you need finer grained control on RepositoryExceptions that haven't been handled
by the handle() method yet, or if you want to try and keep on proceeding anyway.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
report
public void handle(javax.jcr.RepositoryException e, Content context) throws NodeOperationException
ErrorHandler
handle
in interface ErrorHandler
NodeOperationException
protected void unhandledRepositoryException(javax.jcr.RepositoryException e, Content context) throws NodeOperationException
NodeOperationException
public void report(String message, Throwable cause) throws NodeOperationException
report
in interface ErrorHandler
NodeOperationException
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.