SafetyMutex and rocket optimization updates
[debian/openrocket] / src / net / sf / openrocket / logging / TraceException.java
index b08109a35f1645ce187fe20bba2393c1d13cb55f..01029d7d34e06493b316b6f4c1e7ff5973ca4912 100644 (file)
@@ -73,6 +73,19 @@ public class TraceException extends Exception {
        }
        
        
+       /**
+        * Construct an exception with the specified message and cause.
+        * 
+        * @param message       the message for the exception.
+        * @param cause         the cause for this exception.
+        */
+       public TraceException(String message, Throwable cause) {
+               this(0, 0);
+               this.message = message;
+               this.initCause(cause);
+       }
+       
+       
        /**
         * Get the description of the code position as provided in the constructor.
         */