Code example for InvocationTargetException

Methods: toString

0
            } catch (InstantiationException e) {
                Log.e("CursorIterator", e.toString());
            } catch (IllegalAccessException e) {
                Log.e("CursorIterator", e.toString());
            } catch (InvocationTargetException e) {
                Log.e("CursorIterator", e.toString());
            } catch (NoSuchMethodException e) {
                Log.e("CursorIterator", e.toString());
            } 
 
            return null; 
        } 
 
        public void remove() { 
            throw new UnsupportedOperationException("Can't remove this way");
        } 
 
    } 
 
}