summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qadevOOo/runner/lib/MultiMethodTest.java1
-rw-r--r--qadevOOo/runner/lib/StatusException.java19
2 files changed, 3 insertions, 17 deletions
diff --git a/qadevOOo/runner/lib/MultiMethodTest.java b/qadevOOo/runner/lib/MultiMethodTest.java
index 901f4993edc8..a68461eaf70a 100644
--- a/qadevOOo/runner/lib/MultiMethodTest.java
+++ b/qadevOOo/runner/lib/MultiMethodTest.java
@@ -222,6 +222,7 @@ public class MultiMethodTest
}
catch (Exception e)
{
+ e.printStackTrace();
setSubStates(e.toString());
return tRes;
}
diff --git a/qadevOOo/runner/lib/StatusException.java b/qadevOOo/runner/lib/StatusException.java
index 4768a9229c8f..a4132574535f 100644
--- a/qadevOOo/runner/lib/StatusException.java
+++ b/qadevOOo/runner/lib/StatusException.java
@@ -34,12 +34,6 @@ package lib;
*/
public class StatusException extends RuntimeException {
/**
- * Contains an exception if the StatusException was created with
- * StatusException(String, Throwable) constructor.
- */
- protected Throwable exceptionThrown;
-
- /**
* The Status contained in the StatusException.
*/
protected Status status;
@@ -51,8 +45,7 @@ public class StatusException extends RuntimeException {
* @param t the exception of the exception Status
*/
public StatusException( String message, Throwable t ) {
- super( message );
- exceptionThrown = t;
+ super( message, t );
status = Status.exception( t );
}
@@ -65,17 +58,9 @@ public class StatusException extends RuntimeException {
}
/**
- * @return an exception, if this represents an exception Status,
- * <tt>false</tt> otherwise.
- */
- public Throwable getThrownException() {
- return exceptionThrown;
- }
-
- /**
* @return a status contained in the StatusException.
*/
public Status getStatus() {
return status;
}
-} \ No newline at end of file
+}