Code example for InvocationTargetException

Methods: getMessagegetTargetException

0
        } 
    } 
 
    protected void perform(final InvocationTargetException e, final Shell shell,
            final String title, final String message) {
        final Throwable target = e.getTargetException();
        if (target instanceof CoreException) {
            perform((CoreException) target, shell, title, message);
        } else { 
            ErlideUIPlugin.log(e);
            if (e.getMessage() != null && e.getMessage().length() > 0) {
                displayMessageDialog(e.getMessage(), shell, title, message);
            } else { 
                displayMessageDialog(target.getMessage(), shell, title, message);
            } 
        } 
    } 
 
    protected void perform(final BackendException e, final Shell shell,
            final String title, final String message) {
Contextual code suggestions in your IDE  Get Codota for Java