Refactor Argeo API
[gpl/argeo-slc.git] / org.argeo.slc.api / src / org / argeo / slc / test / IncompatibleTestDataException.java
diff --git a/org.argeo.slc.api/src/org/argeo/slc/test/IncompatibleTestDataException.java b/org.argeo.slc.api/src/org/argeo/slc/test/IncompatibleTestDataException.java
deleted file mode 100644 (file)
index de5d900..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-package org.argeo.slc.test;\r
-\r
-import org.argeo.slc.SlcException;\r
-\r
-/**\r
- * Exception to throw when a test definition cannot interpret the provided test\r
- * data.\r
- */\r
-public class IncompatibleTestDataException extends SlcException {\r
-       static final long serialVersionUID = 1l;\r
-\r
-       public IncompatibleTestDataException(TestData testData,\r
-                       TestDefinition testDefinition) {\r
-               super("TestData " + testData.getClass()\r
-                               + " 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