aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/src/xmerl_sax_parser_base.erlsrc
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2017-02-17 08:01:18 +0100
committerLars Thorsen <[email protected]>2017-02-22 10:00:19 +0100
commit71ee7ed52d51d10a4c8c3b9e1de0a3a1df57a1b6 (patch)
tree06271740127582ad63d8aec1c609f302815df7ee /lib/xmerl/src/xmerl_sax_parser_base.erlsrc
parent760a3fa3c57fa2b56b44a9c25cbab4df0f71987e (diff)
downloadotp-71ee7ed52d51d10a4c8c3b9e1de0a3a1df57a1b6.tar.gz
otp-71ee7ed52d51d10a4c8c3b9e1de0a3a1df57a1b6.tar.bz2
otp-71ee7ed52d51d10a4c8c3b9e1de0a3a1df57a1b6.zip
[xmerl] Remove faulty throws
Diffstat (limited to 'lib/xmerl/src/xmerl_sax_parser_base.erlsrc')
-rw-r--r--lib/xmerl/src/xmerl_sax_parser_base.erlsrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xmerl/src/xmerl_sax_parser_base.erlsrc b/lib/xmerl/src/xmerl_sax_parser_base.erlsrc
index 39dd3bbff3..2b9b37b5f3 100644
--- a/lib/xmerl/src/xmerl_sax_parser_base.erlsrc
+++ b/lib/xmerl/src/xmerl_sax_parser_base.erlsrc
@@ -93,7 +93,7 @@ parse(Xml, State) ->
Other ->
_State2 = event_callback(endDocument, State1),
ets:delete(RefTable),
- throw(Other)
+ {fatal_error, Other}
end.
%%----------------------------------------------------------------------
@@ -128,7 +128,7 @@ parse_dtd(Xml, State) ->
Other ->
_State2 = event_callback(endDocument, State1),
ets:delete(RefTable),
- throw(Other)
+ {fatal_error, Other}
end.