tmf: Allow attaching messages to GSS exceptions
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 27 Apr 2012 15:44:00 +0000 (11:44 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 27 Apr 2012 15:44:28 +0000 (11:44 -0400)
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/AttributeNotFoundException.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statevalue/StateValueTypeException.java

index a96af7fab25801ff736a6864215b71f4edfa9b28..b129562f3283e9e1327590e7848c242a4b31d95c 100644 (file)
@@ -17,13 +17,18 @@ package org.eclipse.linuxtools.tmf.core.statesystem;
  * doesn't exist in the system, of if the quark is simply invalid (ie, < 0).
  * 
  * @author alexmont
- *
+ * 
  */
 public class AttributeNotFoundException extends Exception {
 
-    /**
-     * 
-     */
     private static final long serialVersionUID = 7964275803369706145L;
 
+    public AttributeNotFoundException() {
+        super();
+    }
+
+    public AttributeNotFoundException(String message) {
+        super(message);
+    }
+
 }
index ad010e21d66bf8bf0fc9b7c45df4223528a98469..394f8457c030aa9d3c5b752d257294604a07764e 100644 (file)
@@ -21,13 +21,17 @@ package org.eclipse.linuxtools.tmf.core.statevalue;
  * incorrect type (for example, tries to read a String value as an Int).
  * 
  * @author alexmont
- *
+ * 
  */
 public class StateValueTypeException extends Exception {
 
-    /**
-     * 
-     */
     private static final long serialVersionUID = -4548793451746144513L;
 
+    public StateValueTypeException() {
+        super();
+    }
+
+    public StateValueTypeException(String message) {
+        super(message);
+    }
 }
This page took 0.025311 seconds and 5 git commands to generate.