Explicitly specifying the Exceptions instead of a catch(Exception)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1066330 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
312cfc0daf
commit
ec9c77d586
|
@ -123,7 +123,9 @@ public class AnnotationUtils {
|
|||
}
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
} catch (IllegalAccessException e) {
|
||||
return false;
|
||||
} catch (InvocationTargetException e) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue