aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1923/gh326/pkg/HandleSourceException.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs1923/gh326/pkg/HandleSourceException.java')
-rw-r--r--tests/bugs1923/gh326/pkg/HandleSourceException.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs1923/gh326/pkg/HandleSourceException.java b/tests/bugs1923/gh326/pkg/HandleSourceException.java
new file mode 100644
index 000000000..a5645cfac
--- /dev/null
+++ b/tests/bugs1923/gh326/pkg/HandleSourceException.java
@@ -0,0 +1,17 @@
+package pkg;
+
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+@Retention(RUNTIME)
+@Target(METHOD)
+public @interface HandleSourceException {
+
+ String message() default "";
+
+ boolean useLogger() default true;
+
+}