public abstract static class DefaultServiceLocator.ErrorHandler
extends java.lang.Object
Constructor and Description |
---|
ErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
serviceCreationFailed(java.lang.Class<?> type,
java.lang.Class<?> impl,
java.lang.Throwable exception)
Handles errors during creation of a service.
|
public void serviceCreationFailed(java.lang.Class<?> type, java.lang.Class<?> impl, java.lang.Throwable exception)
type
- The interface describing the service, must not be null
.impl
- The implementation class of the service, must not be null
.exception
- The error that occurred while trying to instantiate the implementation class, must not be
null
.