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:
Henri Yandell 2011-02-02 05:39:30 +00:00
parent 312cfc0daf
commit ec9c77d586
1 changed files with 3 additions and 1 deletions

View File

@ -123,7 +123,9 @@ public class AnnotationUtils {
} }
} }
} }
} catch (Exception e) { } catch (IllegalAccessException e) {
return false;
} catch (InvocationTargetException e) {
return false; return false;
} }
return true; return true;