.CollectionBinder.bindManytoManyInverseFk has the following code:
The referencedEntity.getRecursiveProperty can throw MappingException. The other method of this class catches and rethrows AnnotationException:
As a result, the same type of errors can cause different types of exceptions. It would confuse programmers. Catching AnnotationException can fail to handle the same errors in bindManytoManyInverseFk. Can this problem be fixed? |