We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3aa90c3 commit 63ca389Copy full SHA for 63ca389
odml/tools/converters/version_converter.py
@@ -12,6 +12,8 @@
12
13
from lxml import etree as ET
14
15
+from ..parser_utils import ParserException
16
+
17
from ...format import Document, Section, Property
18
from ...info import FORMAT_VERSION
19
from ...terminology import Terminologies, REPOSITORY_BASE
@@ -52,7 +54,7 @@ def _parse_xml(self):
52
54
tree = ET.parse(self.filename, parser)
53
55
else:
56
msg = "Cannot parse provided file object '%s'." % self.filename
- raise Exception(msg)
57
+ raise ParserException(msg)
58
59
return tree
60
0 commit comments