Commit | Line | Data |
---|---|---|
b4f71e4a FC |
1 | /******************************************************************************* |
2 | * Copyright (c) 2012 Ericsson | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are | |
5 | * made 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: | |
10 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.tmf.core.exceptions; | |
14 | ||
15 | /** | |
b4f71e4a | 16 | * TMF trace related exception |
8fd82db5 FC |
17 | * |
18 | * @version 1.0 | |
19 | * @author Francois Chouinard | |
b4f71e4a FC |
20 | */ |
21 | public class TmfTraceException extends Exception { | |
22 | ||
23 | /** | |
24 | * The exception version ID | |
25 | */ | |
26 | private static final long serialVersionUID = -6829650938285722133L; | |
27 | ||
28 | /** | |
9fa32496 BH |
29 | * Constructor |
30 | * | |
b4f71e4a FC |
31 | * @param errMsg the error message |
32 | */ | |
33 | public TmfTraceException(String errMsg) { | |
34 | super(errMsg); | |
35 | } | |
36 | ||
9fa32496 BH |
37 | /** |
38 | * Constructor | |
39 | * | |
40 | * @param errMsg the error message | |
41 | * @param cause the error cause (<code>null</code> is permitted which means no cause is available) | |
42 | */ | |
43 | public TmfTraceException(String errMsg, Throwable cause) { | |
44 | super(errMsg, cause); | |
45 | } | |
b4f71e4a | 46 | } |