public class FallbackValidator extends Object
| Constructor and Description |
|---|
FallbackValidator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
validateAnnotation(org.eclipse.microprofile.faulttolerance.Fallback fallback,
javax.enterprise.inject.spi.AnnotatedMethod<?> annotatedMethod,
org.eclipse.microprofile.config.Config config)
Validate that the Fallback annotation is correct.
|
public static void validateAnnotation(org.eclipse.microprofile.faulttolerance.Fallback fallback,
javax.enterprise.inject.spi.AnnotatedMethod<?> annotatedMethod,
org.eclipse.microprofile.config.Config config)
throws ClassNotFoundException,
NoSuchMethodException
fallback - The fallback annotation to validateannotatedMethod - The method annotated with @Fallbackconfig - The config of the applicationClassNotFoundException - If the fallbackClass could not be foundNoSuchMethodException - If the fallbackMethod could not be foundCopyright © 2018. All rights reserved.