Code example for InvocationTargetException

0
    public void execute(JdbcWork work) throws InvocationTargetException
    { 
       WorkAdapter w = new WorkAdapter(work);
       session_.doWork(w); 
       if (w.getEx()!=null) {
           throw new InvocationTargetException(w.getEx());
       } 
    } 
 
    private Session session_;
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE