1 package org
.argeo
.slc
.test
;
3 import org
.argeo
.slc
.SlcException
;
6 * Exception to throw when a test definition cannot interpret the provided test
9 public class IncompatibleTestDataException
extends SlcException
{
10 static final long serialVersionUID
= 1l;
12 public IncompatibleTestDataException(TestData testData
,
13 TestDefinition testDefinition
) {
14 super("TestData " + testData
.getClass()
15 + " is not compatible with TestDefinition "
16 + testDefinition
.getClass());
19 public IncompatibleTestDataException(TestRun testRun
) {
20 super("TestData " + ((TestData
) testRun
.getTestData()).getClass()
21 + " is not compatible with TestDefinition "
22 + ((TestDefinition
) testRun
.getTestDefinition()).getClass());