2 #include "zipios++/zipios-config.h"
4 #include "zipios++/meta-iostreams.h"
9 using namespace zipios ;
35 cerr <<
"Stream.state:" << endl ;
36 cerr <<
"is.good() = " << is.good() << endl ;
37 cerr <<
"is.fail() = " << is.fail() << endl ;
38 cerr <<
"is.bad() = " << is.bad() << endl ;
39 cerr <<
"is.eof() = " << is.eof() << endl << endl;
40 cerr <<
"End of main" << endl ;
43 cerr <<
"IOException caught in main:" << endl ;
44 cerr << e.what() << endl ;
47 cerr <<
"Unspecified exception caught in main:" << endl ;
An IOException is used to signal an I/O error.
Header file that defines a number of exceptions used by FileCollection and its subclasses.