1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.argeo.slc.test;
17
18 import org.argeo.slc.SlcException;
19
20
21
22
23
24 public class IncompatibleTestDataException extends SlcException {
25 static final long serialVersionUID = 1l;
26
27 public IncompatibleTestDataException(TestData testData,
28 TestDefinition testDefinition) {
29 super("TestData " + testData.getClass()
30 + " is not compatible with TestDefinition "
31 + testDefinition.getClass());
32 }
33
34 public IncompatibleTestDataException(TestRun testRun) {
35 super("TestData " + ((TestData) testRun.getTestData()).getClass()
36 + " is not compatible with TestDefinition "
37 + ((TestDefinition) testRun.getTestDefinition()).getClass());
38 }
39 }