< prev index next >

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

Print this page

        

@@ -44,10 +44,18 @@
 
     protected RuntimeException generateException() {
         return new TypeNotPresentException(typeName, cause);
     }
 
+    public String typeName() {
+        return typeName;
+    }
+
+    public Throwable getCause() {
+        return cause;
+    }
+
     @Override
     public String toString() {
         return typeName + ".class /* Warning: type not present! */";
     }
 }
< prev index next >