X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc.api%2Fsrc%2Forg%2Fargeo%2Fslc%2Ftest%2FIncompatibleTestDataException.java;fp=org.argeo.slc.api%2Fsrc%2Forg%2Fargeo%2Fslc%2Ftest%2FIncompatibleTestDataException.java;h=0000000000000000000000000000000000000000;hb=09c9e5093fe1353aaac344ac8a8caf2e1dcc0778;hp=de5d900af9c24ae1789feeff7252a799e251fc7d;hpb=8ff996a3380166be2ae9cf0ef0fa22c58e11746a;p=gpl%2Fargeo-slc.git 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 index de5d900af..000000000 --- a/org.argeo.slc.api/src/org/argeo/slc/test/IncompatibleTestDataException.java +++ /dev/null @@ -1,24 +0,0 @@ -package org.argeo.slc.test; - -import org.argeo.slc.SlcException; - -/** - * Exception to throw when a test definition cannot interpret the provided test - * data. - */ -public class IncompatibleTestDataException extends SlcException { - static final long serialVersionUID = 1l; - - public IncompatibleTestDataException(TestData testData, - TestDefinition testDefinition) { - super("TestData " + testData.getClass() - + " is not compatible with TestDefinition " - + testDefinition.getClass()); - } - - public IncompatibleTestDataException(TestRun testRun) { - super("TestData " + ((TestData) testRun.getTestData()).getClass() - + " is not compatible with TestDefinition " - + ((TestDefinition) testRun.getTestDefinition()).getClass()); - } -}