Code example for InvocationTargetException

Methods: e, getMessage

0
        } catch (IllegalArgumentException e) {
            throw e;
        } catch (IllegalAccessException e) {
            Log.e("PullToRefreshListView", "unexpected " + e.getMessage(), e);
        } catch (InvocationTargetException e) {
            Log.e("PullToRefreshListView", "unexpected " + e.getMessage(), e);
        } 
    } 
 
    /** 
     * ListViewに対するタッチアクションを管理します。 
     */ 
    @Override 
    public boolean onTouchEvent(MotionEvent event) {
        final int y = (int) event.getY();
 
        switch (event.getAction()) {
 
        // 画面から指を離したとき 
        case MotionEvent.ACTION_UP:
            if (!isVerticalScrollBarEnabled()) {