tmf: Add message to state system exceptions
[deliverable/tracecompass.git] / org.eclipse.tracecompass.statesystem.core / src / org / eclipse / tracecompass / statesystem / core / exceptions / AttributeNotFoundException.java
index b3130e3aaed5b05d22364e7231e131c8792c9c2d..a216fd1979f4e9ca0887922eb8f5e282fee7b80b 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012, 2014 Ericsson
+ * Copyright (c) 2012, 2015 Ericsson
  * Copyright (c) 2010, 2011 École Polytechnique de Montréal
  * Copyright (c) 2010, 2011 Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
  *
@@ -8,6 +8,9 @@
  * 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;
@@ -39,4 +42,16 @@ public class AttributeNotFoundException extends Exception {
         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);
+    }
 }
This page took 0.024792 seconds and 5 git commands to generate.