- All Known Implementing Classes:
ErrorHandlerFactory.ErrorHandlerRecorder
public interface ErrorHandler
An Error handler captures the policy for dealing with warnings, errors and
fatal errors. Fatal errors mean termination of processing and must throw a
RiotException. Errors and warnings may throw an exception to terminate
processing or may return after, for example, logging a message. The exact
policy is determined the error handler itself.
-
Method Summary
-
Method Details
-
warning
report a warning -
error
report an error : May not return (depends on error handler policy) -
fatal
report a catastrophic error. Must not return.
-