code: public ArrayList<String> getThrowsList()
      {
          ArrayList<String> throwsList = new ArrayList<String>();
  
          if ( _methodDecl == null ||
               _methodDecl.getThrownTypes() == null ||
               _methodDecl.getThrownTypes().size() == 0 )
              return throwsList;
          
          Collection<ReferenceType> thrownTypes = _methodDecl.getThrownTypes();
          for (ReferenceType exceptType : thrownTypes)
              throwsList.add(exceptType.toString());
  
          return throwsList;
      }
docs: Returns an ArrayList of thrown exceptions