ErrorHandler
instead.@Deprecated public interface ErrorHandler
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)
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.
|
void |
report(String message,
Throwable cause)
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.
|
void report(String message) throws NodeOperationException
NodeOperationException
void report(String message, Throwable cause) throws NodeOperationException
NodeOperationException
void handle(javax.jcr.RepositoryException e, Content context) throws NodeOperationException
NodeOperationException
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.