Java 类org.eclipse.ui.internal.ide.StatusUtil 实例源码

项目:Pydev    文件:CopyFilesAndFoldersOperation.java   
private void display(InvocationTargetException e) {
    // CoreExceptions are collected above, but unexpected runtime
    // exceptions and errors may still occur.
    IDEWorkbenchPlugin.getDefault().getLog()
            .log(StatusUtil.newStatus(IStatus.ERROR, MessageFormat.format("Exception in {0}.performCopy(): {1}", //$NON-NLS-1$
                    new Object[] { getClass().getName(), e.getTargetException() }), null));
    displayError(NLS.bind(IDEWorkbenchMessages.CopyFilesAndFoldersOperation_internalError, e.getTargetException()
            .getMessage()));
}