Handling "retrieveInnerException" method in AnnotationLibrary when cause object is getting "null"