aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/xml_dom.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-08-21 23:09:51 -0400
committerRalph Amissah <ralph@amissah.com>2013-08-21 23:09:51 -0400
commitbd4e38f4a8c31242caf7d7cbfd3a083a263752b8 (patch)
treeb88ef3bbd128dfd8e1bc583ce586cdf626b19774 /lib/sisu/v4/xml_dom.rb
parentv4 v5: fuchsia (sp.) (diff)
v4 v5: rescued error messages
Diffstat (limited to 'lib/sisu/v4/xml_dom.rb')
-rw-r--r--lib/sisu/v4/xml_dom.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v4/xml_dom.rb b/lib/sisu/v4/xml_dom.rb
index 8660dbf3..057f8532 100644
--- a/lib/sisu/v4/xml_dom.rb
+++ b/lib/sisu/v4/xml_dom.rb
@@ -96,7 +96,7 @@ module SiSU_XML_DOM
end
SiSU_XML_DOM::Source::Songsheet.new(@particulars).songsheet
rescue
- SiSU_Errors::InfoError.new($!,$@,@opt.cmd,@opt.fns).error do
+ SiSU_Errors::Rescued.new($!,$@,@opt.cmd,@opt.fns).location do
__LINE__.to_s + ':' + __FILE__
end
ensure
@@ -115,7 +115,7 @@ module SiSU_XML_DOM
SiSU_XML_DOM::Source::Tidy.new(@md,@file.place_file.xml_dom.dir).xml if @md.opt.cmd =~/[vVM]/ # test wellformedness, comment out when not in use
SiSU_Rexml::Rexml.new(@md,@file.place_file.xml_dom.dir).xml if @md.opt.cmd =~/M/ # test rexml parsing, comment out when not in use #debug
rescue
- SiSU_Errors::InfoError.new($!,$@,@md.opt.cmd,@md.fns).error do
+ SiSU_Errors::Rescued.new($!,$@,@md.opt.cmd,@md.fns).location do
__LINE__.to_s + ':' + __FILE__
end
ensure