/******************************************************************************* * Copyright (c) 2012, 2015 Ericsson * Copyright (c) 2010, 2011 École Polytechnique de Montréal * Copyright (c) 2010, 2011 Alexandre Montplaisir <alexandre.montplaisir@gmail.com> * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Alexandre Montplaisir - Initial API and implementation * Patrick Tasse - Add message to exceptions *******************************************************************************/ package org.eclipse.tracecompass.statesystem.core.exceptions; /** * This exception gets thrown when the user tries to access an attribute which * doesn't exist in the system, of if the quark is simply invalid (ie, < 0). * * @author Alexandre Montplaisir */ public class AttributeNotFoundException extends Exception { private static final long serialVersionUID = 7964275803369706145L; /** * Default constructor */ public AttributeNotFoundException() { super(); } /** * Constructor with a message * * @param message * Message to attach to this exception */ public AttributeNotFoundException(String message) { super(message); } /** * Constructor with both a message and a cause. * * @param message * Message to attach to this exception * @param e * Cause of this exception * @since 1.0 */ public AttributeNotFoundException(String message, Throwable e) { super(message, e); } }