From: Christian P. <cp...@us...> - 2005-01-01 19:00:18
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv395/include/pclasses/System Modified Files: Pipe.h File.h Log Message: Removed LogicError from open()/close() new semantics: open(): reopen with new file close(): closes file (when open) Index: Pipe.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/Pipe.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Pipe.h 31 Dec 2004 03:20:41 -0000 1.6 +++ Pipe.h 1 Jan 2005 19:00:08 -0000 1.7 @@ -41,7 +41,7 @@ static Pair create() throw(IO::IOError); - void close() throw(LogicError, IO::IOError); + void close() throw(IO::IOError); size_t read(char* buffer, size_t count) throw(IO::IOError); Index: File.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/File.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- File.h 31 Dec 2004 03:21:18 -0000 1.7 +++ File.h 1 Jan 2005 19:00:08 -0000 1.8 @@ -54,12 +54,12 @@ */ void open(const Unicode::String& name, AccessMode amode, OpenMode omode = OpenCreate, - ShareMode smode = AllowNone) throw(LogicError, IO::IOError); + ShareMode smode = AllowNone) throw(IO::IOError); /** Frees any resources associated with this object, like filehandles. */ - void close() throw(LogicError, IO::IOError); + void close() throw(IO::IOError); /** Reads up to count bytes and stores them in |