]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/test/IncompatibleTestDataException.java
@update:79; Simplify the execution of flows
[gpl/argeo-slc.git] / runtime / org.argeo.slc.specs / src / main / java / org / argeo / slc / test / IncompatibleTestDataException.java
index 1b5a9e47dd11b9db97bb18b3246c60f54e416b4a..de5d900af9c24ae1789feeff7252a799e251fc7d 100644 (file)
@@ -15,4 +15,10 @@ public class IncompatibleTestDataException extends SlcException {
                                + " is not compatible with TestDefinition "\r
                                + testDefinition.getClass());\r
        }\r
+\r
+       public IncompatibleTestDataException(TestRun testRun) {\r
+               super("TestData " + ((TestData) testRun.getTestData()).getClass()\r
+                               + " is not compatible with TestDefinition "\r
+                               + ((TestDefinition) testRun.getTestDefinition()).getClass());\r
+       }\r
 }\r