| 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2008 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 | /** |
| 12 | * Exception generated upon encountering corrupted tar files. |
| 13 | */ |
| 14 | package org.eclipse.pde.api.tools.internal.util; |
| 15 | |
| 16 | public class TarException extends Exception { |
| 17 | /** |
| 18 | * Generated serial version UID for this class. |
| 19 | */ |
| 20 | private static final long serialVersionUID = 2886671254518853528L; |
| 21 | |
| 22 | /** |
| 23 | * Constructs a TarException without a detail string. |
| 24 | */ |
| 25 | public TarException() { |
| 26 | super(); |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * Constructs a TarException with the specified detail string. |
| 31 | * |
| 32 | * @param s the detail string |
| 33 | */ |
| 34 | public TarException(String s) { |
| 35 | super(s); |
| 36 | } |
| 37 | |
| 38 | /** |
| 39 | * Constructs a TarException with the specified detail string. |
| 40 | * |
| 41 | * @param s the detail string |
| 42 | * @param cause the cause |
| 43 | */ |
| 44 | public TarException(String s, Throwable cause) { |
| 45 | super(s, cause); |
| 46 | } |
| 47 | } |