tmf: Move all GSS exceptions to tmf.core.exceptions
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / exceptions / StateValueTypeException.java
1 /*******************************************************************************
2 * Copyright (c) 2012 Ericsson
3 * Copyright (c) 2010, 2011 École Polytechnique de Montréal
4 * Copyright (c) 2010, 2011 Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
5 *
6 * All rights reserved. This program and the accompanying materials are
7 * made available under the terms of the Eclipse Public License v1.0 which
8 * accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
10 *
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.core.exceptions;
14
15 /**
16 * The StateValue is a wrapper around the different type of values that can be
17 * used and stored in the state system and history. "Unboxing" the value means
18 * retrieving the base type (int, String, etc.) inside it.
19 *
20 * This exception is thrown if the user tries to unbox a StateValue with an
21 * incorrect type (for example, tries to read a String value as an Int).
22 *
23 * @author alexmont
24 *
25 */
26 public class StateValueTypeException extends Exception {
27
28 private static final long serialVersionUID = -4548793451746144513L;
29
30 public StateValueTypeException() {
31 super();
32 }
33
34 public StateValueTypeException(String message) {
35 super(message);
36 }
37 }
This page took 0.034099 seconds and 6 git commands to generate.