Permalink
Browse files

More helpful visio v5 exception, see bug #56171

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1570388 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 32290bd commit 7984a1ec3fa63e4e15517087b895be53c40de147 @Gagravarr Gagravarr committed Feb 20, 2014
@@ -42,7 +42,7 @@ public Pointer createPointer(byte[] data, int offset) {
return p;
} else if(version == 5) {
- throw new RuntimeException("TODO");
+ throw new RuntimeException("TODO Support v5 Pointers");
} else {
throw new IllegalArgumentException("Visio files with versions below 5 are not supported, yours was " + version);
}
@@ -57,7 +57,7 @@ public void testCreateV5() {
fail();
} catch(RuntimeException e) {
// Still to do
- assertEquals("TODO", e.getMessage());
+ assertEquals("TODO Support v5 Pointers", e.getMessage());
}
}

0 comments on commit 7984a1e

Please sign in to comment.