From 0f80b4e1f92f9b12115121e55619e6e810831d41 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 4 Nov 2001 23:23:13 +0000 Subject: Better exception handling. --- include/Handle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/Handle.h') diff --git a/include/Handle.h b/include/Handle.h index 1541bbe..2554892 100644 --- a/include/Handle.h +++ b/include/Handle.h @@ -28,8 +28,8 @@ class Handle : public Base { public: Handle(const Handle &); virtual ~Handle(); - virtual ssize_t read(void *buf, size_t count) throw (IOException); - virtual ssize_t write(const void *buf, size_t count) throw (IOException); + virtual ssize_t read(void *buf, size_t count) throw (IOGeneral); + virtual ssize_t write(const void *buf, size_t count) throw (IOGeneral); bool IsClosed(void); bool IsNonBlock(void); void SetNonBlock(void); -- cgit v1.2.3