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: Alexandre Montplaisir - Initial API and implementation | |
10 | *******************************************************************************/ | |
11 | ||
12 | package org.eclipse.linuxtools.ctf.core.trace; | |
13 | ||
14 | /** | |
15 | * General exception that is thrown when there is a problem somewhere with the | |
16 | * CTF trace reader. | |
17 | * | |
18 | * @author alexmont | |
19 | * | |
20 | */ | |
21 | public class CTFReaderException extends Exception { | |
22 | ||
23 | private static final long serialVersionUID = 2065258365219777672L; | |
24 | ||
25 | /** | |
26 | * Default constructor with no message. | |
27 | */ | |
28 | public CTFReaderException() { | |
29 | super(); | |
30 | } | |
31 | ||
32 | /** | |
33 | * Constructor with an attached message. | |
34 | * | |
35 | * @param message | |
36 | */ | |
37 | public CTFReaderException(String message) { | |
38 | super(message); | |
39 | } | |
40 | ||
41 | /** | |
42 | * Re-throw an exception into this type. | |
43 | * | |
44 | * @param e | |
45 | * The previous Exception we caught. | |
46 | */ | |
47 | public CTFReaderException(Exception e) { | |
48 | super(e); | |
49 | } | |
50 | } |