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