diff options
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ManifestErrorPrompter.java')
-rw-r--r-- | plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ManifestErrorPrompter.java | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ManifestErrorPrompter.java b/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ManifestErrorPrompter.java deleted file mode 100644 index e70c7e7b1..000000000 --- a/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/ManifestErrorPrompter.java +++ /dev/null @@ -1,54 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/* - * Created on Jan 17, 2005 - * - * TODO To change the template for this generated file go to - * Window - Preferences - Java - Code Style - Code Templates - */ -package org.eclipse.jst.j2ee.internal; - -import org.eclipse.jst.j2ee.internal.plugin.ErrorDialog; -import org.eclipse.swt.widgets.Shell; - -/** - * @author jialin - * - * TODO To change the template for this generated type comment go to - * Window - Preferences - Java - Code Style - Code Templates - */ -public class ManifestErrorPrompter implements ICommonManifestUIConstants { - - /** - * Constructor for ManifestErrorPrompter. - */ - private ManifestErrorPrompter() { - super(); - } - - public static boolean showManifestException(Shell shell, String baseMessage, boolean includeCancel, Throwable caught) { - StringBuffer msg = new StringBuffer(baseMessage); - msg.append("\n"); //$NON-NLS-1$ - msg.append(MANIFEST_PROBLEM_1); - msg.append("\n"); //$NON-NLS-1$ - msg.append(MANIFEST_PROBLEM_2); - msg.append("\n"); //$NON-NLS-1$ - msg.append(MANIFEST_PROBLEM_3); - msg.append("\n"); //$NON-NLS-1$ - msg.append(MANIFEST_PROBLEM_4); - return ErrorDialog.openError(shell, - ERROR_READING_MANIFEST_DIALOG_TITLE, - msg.toString(), - caught, - 0, includeCancel); - } - -} |