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
- SearchConfiguration
or the default one in case not specified.Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved