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>
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
12 * Alexandre Montplaisir - Initial API and implementation
13 * Patrick Tasse - Add message to exceptions
14 *******************************************************************************/
16 package org
.eclipse
.tracecompass
.statesystem
.core
.exceptions
;
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).
22 * @author Alexandre Montplaisir
24 public class AttributeNotFoundException
extends Exception
{
26 private static final long serialVersionUID
= 7964275803369706145L;
31 public AttributeNotFoundException() {
36 * Constructor with a message
39 * Message to attach to this exception
41 public AttributeNotFoundException(String message
) {
46 * Constructor with both a message and a cause.
49 * Message to attach to this exception
51 * Cause of this exception
54 public AttributeNotFoundException(String message
, Throwable e
) {