private void importExceptions(DbOOAbstractMethod oper, Method method) throws DbException { ExceptionTable table = method.getExceptionTable(); if (table != null) { String[] exceptionNames = table.getExceptionNames(); for (String exceptionName : exceptionNames) { DbOOAdt adt = findClassByName(exceptionName); if (adt instanceof DbJVClass) { DbJVClass exception = (DbJVClass) adt; if (oper instanceof DbJVConstructor) { DbJVConstructor constr = (DbJVConstructor) oper; constr.addToJavaExceptions(exception); } else if (oper instanceof DbJVMethod) { DbJVMethod meth = (DbJVMethod) oper; meth.addToJavaExceptions(exception); } // end if } // end if } // end for } // end if } // end importExceptions()