From 7908c2aa4ea89dc0cbef72b48965f5d6230679b8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 10 May 2014 18:42:19 -0700 Subject: Remove ios_base::failure handler since we don't enable stream exceptions --- examples/processing/driver.cxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'examples') 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. // -- cgit v1.1