public static interface Instantiator.FailureHandler
Modifier and Type | Method and Description |
---|---|
void |
handleFailure(Class<?> type,
String implementationName,
Throwable failure)
Handle the
failure that occurred when instantiating the type
that was expected to be of the given typeSupplier . |
void handleFailure(Class<?> type, String implementationName, Throwable failure)
failure
that occurred when instantiating the type
that was expected to be of the given typeSupplier
.type
- the typeimplementationName
- the name of the implementation typefailure
- the failure that occurred