statesystem: Move plugins to their own sub-directory
[deliverable/tracecompass.git] / statesystem / org.eclipse.tracecompass.statesystem.core / src / org / eclipse / tracecompass / statesystem / core / exceptions / AttributeNotFoundException.java
1 /*******************************************************************************
2 * Copyright (c) 2012, 2015 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 * Contributors:
12 * Alexandre Montplaisir - Initial API and implementation
13 * Patrick Tasse - Add message to exceptions
14 *******************************************************************************/
15
16 package org.eclipse.tracecompass.statesystem.core.exceptions;
17
18 /**
19 * This exception gets thrown when the user tries to access an attribute which
20 * doesn't exist in the system, of if the quark is simply invalid (ie, < 0).
21 *
22 * @author Alexandre Montplaisir
23 */
24 public class AttributeNotFoundException extends Exception {
25
26 private static final long serialVersionUID = 7964275803369706145L;
27
28 /**
29 * Default constructor
30 */
31 public AttributeNotFoundException() {
32 super();
33 }
34
35 /**
36 * Constructor with a message
37 *
38 * @param message
39 * Message to attach to this exception
40 */
41 public AttributeNotFoundException(String message) {
42 super(message);
43 }
44
45 /**
46 * Constructor with both a message and a cause.
47 *
48 * @param message
49 * Message to attach to this exception
50 * @param e
51 * Cause of this exception
52 * @since 1.0
53 */
54 public AttributeNotFoundException(String message, Throwable e) {
55 super(message, e);
56 }
57 }
This page took 0.035323 seconds and 5 git commands to generate.