Commit | Line | Data |
---|---|---|
c068a752 | 1 | /******************************************************************************* |
ed902a2b | 2 | * Copyright (c) 2013, 2014 École Polytechnique de Montréal |
c068a752 GB |
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 | * Geneviève Bastien - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
2bdf0193 | 13 | package org.eclipse.tracecompass.tmf.core.exceptions; |
c068a752 GB |
14 | |
15 | /** | |
16 | * Generic exception for an error or issue occurs in analysis setup and | |
17 | * execution. | |
18 | * | |
19 | * For instance, to perform an analysis, a trace must be of the right type and | |
20 | * have some characteristics. If trying to do an analysis on a trace that does | |
21 | * not match, this exception is thrown. | |
22 | * | |
23 | * @author Geneviève Bastien | |
c068a752 GB |
24 | */ |
25 | public class TmfAnalysisException extends Exception { | |
26 | ||
27 | private static final long serialVersionUID = -4567750551324478401L; | |
28 | ||
29 | /** | |
30 | * Default constructor | |
31 | */ | |
32 | public TmfAnalysisException() { | |
33 | super(); | |
34 | } | |
35 | ||
36 | /** | |
37 | * Constructor with a message | |
38 | * | |
39 | * @param message | |
40 | * Message to attach to this exception | |
41 | */ | |
42 | public TmfAnalysisException(String message) { | |
43 | super(message); | |
44 | } | |
45 | ||
46 | } |