KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > update > internal > core > FeatureDownloadException


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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.internal.core;
12
13 import org.eclipse.core.runtime.*;
14
15 /**
16  * Exception thrown when IOException during downloading features
17  *
18  * @since 3.0
19  */

20 public class FeatureDownloadException extends CoreException {
21
22     private static final long serialVersionUID = 1L;
23
24     /**
25      * Construct the exception indicating enclosing CoreException
26      *
27      * @since 3.0
28      */

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