Commit | Line | Data |
---|---|---|
c068a752 GB |
1 | /******************************************************************************* |
2 | * Copyright (c) 2013 École Polytechnique de Montréal | |
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 | ||
13 | package org.eclipse.linuxtools.tmf.core.exceptions; | |
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 | |
24 | * @since 3.0 | |
25 | */ | |
26 | public class TmfAnalysisException extends Exception { | |
27 | ||
28 | private static final long serialVersionUID = -4567750551324478401L; | |
29 | ||
30 | /** | |
31 | * Default constructor | |
32 | */ | |
33 | public TmfAnalysisException() { | |
34 | super(); | |
35 | } | |
36 | ||
37 | /** | |
38 | * Constructor with a message | |
39 | * | |
40 | * @param message | |
41 | * Message to attach to this exception | |
42 | */ | |
43 | public TmfAnalysisException(String message) { | |
44 | super(message); | |
45 | } | |
46 | ||
47 | } |