diff --git a/test/src/IOTests.java b/test/src/IOTests.java
index 9b1057f3f6fc72a6ece89426b38ce35abd603789..80fb628b92676d0bfe4f4a15ebe82c97e00f37ad 100644
--- a/test/src/IOTests.java
+++ b/test/src/IOTests.java
@@ -54,7 +54,7 @@ public class IOTests {
     private Alignment alignment = null;
     private AlignmentParser aparser = null;
 
-    @Test(groups = { "full", "io", "raw" }, expectedExceptions = SAXException.class)
+    @Test(groups = { "full", "io", "raw" }, expectedExceptions = AlignmentException.class)
     public void loadSOAPErrorTest() throws Exception {
 	aparser = new AlignmentParser( 0 );
 	assertNotNull( aparser );