public static interface AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher
| Modifier and Type | Interface and Description |
|---|---|
static class |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Conjunction
A matcher for resubmission upon an error that matches both of the supplied delegate matchers.
|
static class |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Disjunction
A matcher for resubmission upon an error that matches either of the supplied delegate matchers.
|
static class |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.ForElementMatchers
A matcher for resubmission upon error that uses element matchers for each argument to determine a resubmission.
|
static class |
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Trivial
A trivial matcher for resubmission upon an exception.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Throwable throwable,
String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation. |
boolean matches(Throwable throwable, String typeName, @MaybeNull ClassLoader classLoader, @MaybeNull JavaModule module)
true if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.throwable - The exception being raised.typeName - The name of the instrumented type.classLoader - The class loader of the instrumented type or null if the type is loaded by the bootstrap class loader.module - The module of the instrumented type or null if the current VM does not support modules.true if the type should be resubmitted.Copyright © 2014–2025. All rights reserved.