throw new RuntimeException("Not yet implemented.");\r
}\r
\r
- public TestDefinition geTestDefinition() {\r
+ public TestDefinition getTestDefinition() {\r
return testDefinitionArg.getTestDefinition();\r
}\r
\r
--- /dev/null
+package org.argeo.slc.core;\r
+\r
+/** Basis for all SLC exceptions.*/\r
+public class SlcException extends RuntimeException {\r
+ static final long serialVersionUID = 1l;\r
+\r
+ public SlcException(String message) {\r
+ super(message);\r
+ }\r
+\r
+ public SlcException(String message, Throwable cause) {\r
+ super(message, cause);\r
+ }\r
+\r
+}\r
package org.argeo.slc.core.test;\r
\r
+import org.argeo.slc.core.SlcException;\r
+\r
/**\r
* Excception to throw when a test definition cannot interpret the provided tets\r
* data.\r
*/\r
-public class IncompatibleTestDataException extends RuntimeException {\r
+public class IncompatibleTestDataException extends SlcException {\r
static final long serialVersionUID = 1l;\r
\r
public IncompatibleTestDataException(TestData testData,\r
\r
/** The actual run of a test */\r
public interface TestRun {\r
- public TestDefinition geTestDefinition();\r
+ public TestDefinition getTestDefinition();\r
\r
public TestData getTestData();\r
\r