@@ -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! */"; } }