예제 #1
0
 public void addCheckedExceptions(String... exceptions) {
   for (String exception : exceptions) {
     exceptionsAttribute.addExceptionClass(exception);
   }
 }
예제 #2
0
 public void addCheckedExceptions(Class<? extends Exception>... exceptions) {
   for (Class<? extends Exception> exception : exceptions) {
     exceptionsAttribute.addExceptionClass(exception.getName());
   }
 }