jdk/src/java.base/share/classes/sun/reflect/annotation/TypeNotPresentExceptionProxy.java
changeset 38882 efb06b82374b
parent 38770 e8746fa36f1a
--- a/jdk/src/java.base/share/classes/sun/reflect/annotation/TypeNotPresentExceptionProxy.java	Sun Jun 12 10:48:19 2016 +0800
+++ b/jdk/src/java.base/share/classes/sun/reflect/annotation/TypeNotPresentExceptionProxy.java	Sun Jun 12 12:14:52 2016 -0700
@@ -46,6 +46,14 @@
         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! */";