Commit | Line | Data |
---|---|---|
866e5b51 FC |
1 | /******************************************************************************* |
2 | * Copyright (c) 2011-2012 Ericsson, Ecole Polytechnique de Montreal and others | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are made | |
5 | * available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | * | |
9 | * Contributors: Matthew Khouzam - Initial API and implementation | |
10 | * Contributors: Simon Marchi - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
ce2388e0 | 13 | package org.eclipse.linuxtools.internal.ctf.core.event.metadata.exceptions; |
866e5b51 | 14 | |
a94410d9 | 15 | |
866e5b51 FC |
16 | /** |
17 | * <b><u>ParseException</u></b> | |
18 | */ | |
19 | public class ParseException extends Exception { | |
20 | ||
21 | private static final long serialVersionUID = 7901917601459652080L; | |
22 | ||
9ac2eb62 | 23 | /** |
a94410d9 | 24 | * Empty constructor |
9ac2eb62 | 25 | */ |
866e5b51 FC |
26 | public ParseException() { |
27 | super(); | |
28 | } | |
29 | ||
30 | /** | |
31 | * Constructor | |
32 | * | |
9ac2eb62 | 33 | * @param message (to be sent to logs |
866e5b51 FC |
34 | */ |
35 | public ParseException(String message) { | |
36 | super(message); | |
37 | } | |
38 | ||
a94410d9 MK |
39 | /** |
40 | * Copy constructor | |
41 | * @param e the exception to throw | |
42 | */ | |
43 | public ParseException(Exception e) { | |
44 | super(e); | |
45 | } | |
866e5b51 | 46 | } |