} catch (Exception e) {  throw new FBSQLException(e);
} catch(InvocationTargetException ex) {  Throwable t = ex.getTargetException(); if (t instanceof FBSQLException) throw (FBSQLException)t; else throw new UndeclaredThrowableException(t);  } catch (IllegalArgumentException e) { throw new UndeclaredThrowableException(e); } catch (InstantiationException e) { throw new UndeclaredThrowableException(e); } catch (IllegalAccessException e) { throw new UndeclaredThrowableException(e); } catch (NoSuchMethodException e) { throw new UndeclaredThrowableException(e);
    public static AbstractSavepoint createSavepoint(int counter) throws FBSQLException {        try {            Constructor constructor = ClassFactory.get(ClassFactory.FBSavepoint).getConstructor(                    new Class[] { int.class });            return (AbstractSavepoint) constructor                    .newInstance(new Object[] { new Integer(counter) });        } catch (Exception e) {            throw new FBSQLException(e);        }    }