public final class ErrorHandlerFactory extends Object
ErrorHandler
.
Some helper methods are exposed so that some integrating frameworks can wrap the
ErrorHandler with some custom decoration, while still leaving it
up to the user to choose which ErrorHandler to use within the decorator.Modifier and Type | Method and Description |
---|---|
static ErrorHandler |
createErrorHandler(SearchConfiguration searchConfiguration) |
static ErrorHandler |
getDefault() |
public static ErrorHandler getDefault()
public static ErrorHandler createErrorHandler(SearchConfiguration searchConfiguration)
searchConfiguration
- The configuration that may specify an ErrorHandlerSearchConfiguration
or the default one in case not specified.Copyright © 2006-2023 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.