Code example for InvocationTargetException

0
        } 
        catch (WrongMethodTypeException wmte) { 
            throw new IllegalArgumentException(wmte.getMessage(), wmte); 
        } 
        catch (Throwable t) { 
            throw new InvocationTargetException(t); 
        } 
    } 
}