< prev index next >

src/java.base/share/classes/sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.java

Print this page

        

@@ -54,6 +54,11 @@
     }
 
     protected RuntimeException generateException() {
         return new AnnotationTypeMismatchException(member, foundType);
     }
+
+    @Override
+    public String memberToString() {
+        return "/* Type mismatch! \"" + foundType + "\" */" ;
+    }
 }
< prev index next >