public interface LoadErrorHandler
| Modifier and Type | Field and Description | 
|---|---|
| static LoadErrorHandler | IGNOREStrategy that simply ignores all problems. | 
| static LoadErrorHandler | THROWStrategy that throws a  RuntimeExceptionwith the given
 throwable as the root cause, thus interrupting the entire service
 loading operation. | 
| static LoadErrorHandler | WARNStrategy that logs warnings of all problems using a  Loggercreated using the given class name. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | handleLoadError(String classname,
               Throwable throwable)Handles a problem encountered when trying to load the specified
 service class. | 
static final LoadErrorHandler IGNORE
static final LoadErrorHandler WARN
Logger
 created using the given class name.static final LoadErrorHandler THROW
RuntimeException with the given
 throwable as the root cause, thus interrupting the entire service
 loading operation.void handleLoadError(String classname, Throwable throwable)
classname - name of the service classthrowable - the encountered problemCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.