incubator-odf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liud...@apache.org
Subject svn commit: r1424355 - /incubator/odf/trunk/odfdom/src/test/java/org/odftoolkit/odfdom/pkg/LoadSaveErrorTest.java
Date Thu, 20 Dec 2012 07:55:00 GMT
Author: liudali
Date: Thu Dec 20 07:55:00 2012
New Revision: 1424355

URL: http://svn.apache.org/viewvc?rev=1424355&view=rev
Log:
fix build error LoadSaveErrorTest.java:[100,49] unreported exception java.lang.Exception;
must be caught or declared to be thrown

Modified:
    incubator/odf/trunk/odfdom/src/test/java/org/odftoolkit/odfdom/pkg/LoadSaveErrorTest.java

Modified: incubator/odf/trunk/odfdom/src/test/java/org/odftoolkit/odfdom/pkg/LoadSaveErrorTest.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/test/java/org/odftoolkit/odfdom/pkg/LoadSaveErrorTest.java?rev=1424355&r1=1424354&r2=1424355&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/test/java/org/odftoolkit/odfdom/pkg/LoadSaveErrorTest.java
(original)
+++ incubator/odf/trunk/odfdom/src/test/java/org/odftoolkit/odfdom/pkg/LoadSaveErrorTest.java
Thu Dec 20 07:55:00 2012
@@ -57,7 +57,7 @@ public class LoadSaveErrorTest {
 	 * @throws IOException if an I/O error occurs
 	 */
 	@Test
-	public void testInvalidZipAsODF() throws SAXException, IOException {
+	public void testInvalidZipAsODF() throws Exception {
 		ByteArrayOutputStream baout = new ByteArrayOutputStream();
 		ZipOutputStream zout = new ZipOutputStream(baout);
 		ZipEntry entry = new ZipEntry("mimetype");



Mime
View raw message