Commit | Line | Data |
---|---|---|
a52fde77 AM |
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> | |
063f0d27 | 5 | * |
a52fde77 AM |
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 | |
063f0d27 | 10 | * |
a52fde77 AM |
11 | *******************************************************************************/ |
12 | ||
bcec0116 | 13 | package org.eclipse.linuxtools.statesystem.core.exceptions; |
a52fde77 AM |
14 | |
15 | /** | |
16 | * This exception gets thrown when the user tries to access an attribute which | |
17 | * doesn't exist in the system, of if the quark is simply invalid (ie, < 0). | |
063f0d27 AM |
18 | * |
19 | * @author Alexandre Montplaisir | |
bcec0116 | 20 | * @since 3.0 |
a52fde77 AM |
21 | */ |
22 | public class AttributeNotFoundException extends Exception { | |
23 | ||
a52fde77 AM |
24 | private static final long serialVersionUID = 7964275803369706145L; |
25 | ||
063f0d27 AM |
26 | /** |
27 | * Default constructor | |
28 | */ | |
a6817576 AM |
29 | public AttributeNotFoundException() { |
30 | super(); | |
31 | } | |
32 | ||
063f0d27 AM |
33 | /** |
34 | * Constructor with a message | |
35 | * | |
36 | * @param message | |
37 | * Message to attach to this exception | |
38 | */ | |
a6817576 AM |
39 | public AttributeNotFoundException(String message) { |
40 | super(message); | |
41 | } | |
42 | ||
a52fde77 | 43 | } |