01: /*******************************************************************************
02: * Copyright (c) 2004, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.internal.wizards.datatransfer;
11:
12: /**
13: * Exception generated upon encountering corrupted tar files.
14: */
15: public class TarException extends Exception {
16: /**
17: * Generated serial version UID for this class.
18: */
19: private static final long serialVersionUID = 2886671254518853528L;
20:
21: /**
22: * Constructs a TarException without a detail string.
23: */
24: public TarException() {
25: super ();
26: }
27:
28: /**
29: * Constructs a TarException with the specified detail string.
30: *
31: * @param s the detail string
32: */
33: public TarException(String s) {
34: super (s);
35: }
36:
37: /**
38: * Constructs a TarException with the specified detail string.
39: *
40: * @param s the detail string
41: * @param cause the cause
42: */
43: public TarException(String s, Throwable cause) {
44: super(s, cause);
45: }
46: }
|