Commit | Line | Data |
---|---|---|
5d5f933e MAL |
1 | /******************************************************************************* |
2 | * Copyright (c) 2004, 2015 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 | * Marc-Andre Laperle <marc-andre.laperle@ericsson.com> - Copied to Trace Compass to work around bug 501379 | |
11 | *******************************************************************************/ | |
12 | ||
13 | package org.eclipse.tracecompass.internal.tmf.ui.project.wizards.importtrace; | |
14 | ||
15 | /** | |
16 | * Exception generated upon encountering corrupted tar files. | |
17 | */ | |
18 | public class TarException extends Exception { | |
19 | /** | |
20 | * Generated serial version UID for this class. | |
21 | */ | |
22 | private static final long serialVersionUID = 2886671254518853528L; | |
23 | ||
24 | /** | |
25 | * Constructs a TarException without a detail string. | |
26 | */ | |
27 | public TarException() { | |
28 | super(); | |
29 | } | |
30 | ||
31 | /** | |
32 | * Constructs a TarException with the specified detail string. | |
33 | * | |
34 | * @param s the detail string | |
35 | */ | |
36 | public TarException(String s) { | |
37 | super(s); | |
38 | } | |
39 | ||
40 | /** | |
41 | * Constructs a TarException with the specified detail string. | |
42 | * | |
43 | * @param s the detail string | |
44 | * @param cause the cause | |
45 | */ | |
46 | public TarException(String s, Throwable cause) { | |
47 | super(s, cause); | |
48 | } | |
49 | } |