Commit | Line | Data |
---|---|---|
b4f71e4a | 1 | /******************************************************************************* |
ed902a2b | 2 | * Copyright (c) 2012, 2014 Ericsson |
d5efe032 | 3 | * |
b4f71e4a FC |
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 | |
d5efe032 | 8 | * |
b4f71e4a FC |
9 | * Contributors: |
10 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
2bdf0193 | 13 | package org.eclipse.tracecompass.tmf.core.exceptions; |
b4f71e4a FC |
14 | |
15 | /** | |
b4f71e4a | 16 | * TMF trace related exception |
d5efe032 | 17 | * |
8fd82db5 FC |
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 | 29 | * Constructor |
d5efe032 | 30 | * |
b4f71e4a FC |
31 | * @param errMsg the error message |
32 | */ | |
33 | public TmfTraceException(String errMsg) { | |
34 | super(errMsg); | |
35 | } | |
36 | ||
9fa32496 | 37 | /** |
d5efe032 AF |
38 | * Constructor |
39 | * | |
9fa32496 | 40 | * @param errMsg the error message |
d5efe032 | 41 | * @param cause the error cause (<code>null</code> is permitted which means no cause is available) |
9fa32496 BH |
42 | */ |
43 | public TmfTraceException(String errMsg, Throwable cause) { | |
44 | super(errMsg, cause); | |
45 | } | |
b4f71e4a | 46 | } |