00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef _DECAF_IO_IOEXCEPTION_H_
00018 #define _DECAF_IO_IOEXCEPTION_H_
00019
00020 #include <decaf/lang/Exception.h>
00021
00022 namespace decaf {
00023 namespace io {
00024
00025
00026
00027
00028 class DECAF_API IOException : public lang::Exception {
00029 public:
00030
00034 IOException();
00035
00040 IOException(const lang::Exception& ex);
00041
00046 IOException(const IOException& ex);
00047
00059 IOException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
00060
00067 IOException(const std::exception* cause);
00068
00077 IOException(const char* file, const int lineNumber, const char* msg, ...);
00078
00086 virtual IOException* clone() const {
00087 return new IOException(*this);
00088 }
00089
00090 virtual ~IOException() throw();
00091
00092 };
00093
00094 }}
00095
00096 #endif