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
This commit is contained in:
Nick Burch 2014-02-20 23:20:19 +00:00
parent 8f6ea0f8a8
commit c3653544bb
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ public final class PointerFactory {
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);
}

View File

@ -57,7 +57,7 @@ public final class TestPointerFactory extends TestCase {
fail();
} catch(RuntimeException e) {
// Still to do
assertEquals("TODO", e.getMessage());
assertEquals("TODO Support v5 Pointers", e.getMessage());
}
}