summaryrefslogtreecommitdiff
path: root/include/Handle.h
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-04 23:23:13 +0000
committerPixel <Pixel>2001-11-04 23:23:13 +0000
commit0f80b4e1f92f9b12115121e55619e6e810831d41 (patch)
tree1f44a9deb2f1e581507c31e4e26b37a7f646a1dd /include/Handle.h
parent50cef89f47dbc14b00639351463aba20ca4320a0 (diff)
Better exception handling.
Diffstat (limited to 'include/Handle.h')
-rw-r--r--include/Handle.h4
1 files changed, 2 insertions, 2 deletions
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);