KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > update > core > model > InstallAbortedException


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.update.core.model;
12
13 import org.eclipse.core.runtime.CoreException;
14 import org.eclipse.core.runtime.IStatus;
15 import org.eclipse.core.runtime.Status;
16
17 /**
18  * Exception thrown when the user cancelled an installation.
19  * <p>
20  * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
21  * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
22  * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
23  * (repeatedly) as the API evolves.
24  * </p>
25  * @since 2.0
26  */

27 public class InstallAbortedException extends CoreException {
28
29     private static final long serialVersionUID = 1L;
30
31     /**
32      * Construct the exception indicating enclosing CoreException
33      *
34      * @since 2.0
35      */

36     public InstallAbortedException(String JavaDoc msg,Exception JavaDoc e) {
37         super(new Status(IStatus.INFO,"org.eclipse.update.core",IStatus.OK,msg,e)); //$NON-NLS-1$
38
}
39 }
40
Popular Tags