aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-05-10 18:42:19 -0700
committerBoris Kolpackov <boris@codesynthesis.com>2014-05-10 18:42:19 -0700
commit7908c2aa4ea89dc0cbef72b48965f5d6230679b8 (patch)
treee8fd06556cb88bda5786a2781cfcb99835808b68 /examples
parent40172c8a4c903acba24b236be7c3683b373f0bea (diff)
Remove ios_base::failure handler since we don't enable stream exceptions
Diffstat (limited to 'examples')
-rw-r--r--examples/processing/driver.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/processing/driver.cxx b/examples/processing/driver.cxx
index e0f939d..97669c5 100644
--- a/examples/processing/driver.cxx
+++ b/examples/processing/driver.cxx
@@ -129,11 +129,6 @@ main (int argc, char* argv[])
s.end_element (); // object
}
- catch (const ios_base::failure&)
- {
- cerr << "io failure" << endl;
- return 1;
- }
// This handler will handle both parsing (xml::parsing) and serialization
// (xml::serialization) exceptions.
//