Commit | Line | Data |
---|---|---|
96345c5a | 1 | /******************************************************************************* |
cb42195c | 2 | * Copyright (c) 2012, 2013 Ericsson |
96345c5a AM |
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 | * Alexandre Montplaisir - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.tmf.core.exceptions; | |
14 | ||
15 | /** | |
16 | * Exception thrown by the state system if a query is done on it after it has | |
17 | * been disposed. | |
18 | * | |
19 | * @author Alexandre Montplaisir | |
20 | * @since 2.0 | |
21 | */ | |
22 | public class StateSystemDisposedException extends Exception { | |
23 | ||
24 | private static final long serialVersionUID = 7896041701818620084L; | |
25 | ||
cb42195c AM |
26 | /** |
27 | * Create a new simple StateSystemDisposedException. | |
28 | */ | |
29 | public StateSystemDisposedException() { | |
30 | super(); | |
31 | } | |
32 | ||
33 | /** | |
34 | * Create a new StateSystemDisposedException based on a previous one. | |
35 | * | |
36 | * @param e | |
37 | * The previous exception | |
38 | */ | |
39 | public StateSystemDisposedException(Throwable e) { | |
40 | super(e); | |
41 | } | |
42 | ||
96345c5a | 43 | } |