|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.magnolia.nodebuilder.AbstractErrorHandler
public abstract class AbstractErrorHandler
Constructor Summary | |
---|---|
AbstractErrorHandler()
|
Method Summary | |
---|---|
void |
handle(javax.jcr.RepositoryException e,
Content context)
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 (log, throw a NodeOperationException, ...) |
protected void |
unhandledRepositoryException(javax.jcr.RepositoryException e,
Content context)
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface info.magnolia.nodebuilder.ErrorHandler |
---|
report |
Constructor Detail |
---|
public AbstractErrorHandler()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |