public interface ErrorHandler
Modifier and Type | Field and Description |
---|---|
static String |
LOG
Special value to be used for the
Environment.ERROR_HANDLER configuration
property in order to activate the logging of all errors/exceptions occurring. |
Modifier and Type | Method and Description |
---|---|
void |
handle(ErrorContext context) |
void |
handleException(String errorMsg,
Throwable exception)
Suited to handle a single Exception, where no ErrorContext is needed.
|
static final String LOG
Environment.ERROR_HANDLER
configuration
property in order to activate the logging of all errors/exceptions occurring.void handle(ErrorContext context)
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved