mirror of https://github.com/apache/poi.git
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:
parent
8f6ea0f8a8
commit
c3653544bb
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue