add lost exception
authorSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Fri, 20 Sep 2013 13:35:23 +0000 (14:35 +0100)
committerSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Fri, 20 Sep 2013 13:35:23 +0000 (14:35 +0100)
testsrc/compbio/engine/conf/RunnerConfigMarshallerTester.java

index 2263857..8daacff 100644 (file)
@@ -238,10 +238,9 @@ public class RunnerConfigMarshallerTester {
 \r
     @Test(expectedExceptions = JAXBException.class)\r
     public void testValidationOnMarshalling() throws SAXException,\r
-           JAXBException {\r
+           JAXBException, MalformedURLException {\r
        // This is not valid parameter\r
-       Parameter<Mafft> p = new Parameter<Mafft>("MATRIXXX",\r
-               "Protein weight matrix");\r
+       Parameter<Mafft> p = new Parameter<Mafft>("MATRIXXX", "Protein weight matrix");\r
        // This attribute is required by strict schema\r
        // p.setOptionName("-M");\r
        p.setRequired(true);\r