diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-28 19:06:56 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-28 19:06:56 +0900 |
| commit | 50122f0ab35e16446e652bb62efeed7f4b1da8c1 (patch) | |
| tree | 31876960fe94ef7af861b44ce7ef6b4ff341ea8c /src/Exception.h | |
| parent | ecbc05012ce252c03a5685ee4f0fd2b93b1fda25 (diff) | |
Renamed Exception::errno_ as Exception::errNum_.
Diffstat (limited to 'src/Exception.h')
| -rw-r--r-- | src/Exception.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Exception.h b/src/Exception.h index 2be24127..a5724c2e 100644 --- a/src/Exception.h +++ b/src/Exception.h @@ -50,12 +50,11 @@ private: int line_; - int errno_; + int errNum_; std::string msg_; SharedHandle<Exception> cause_; - protected: virtual SharedHandle<Exception> copy() const = 0; @@ -67,7 +66,7 @@ public: Exception(const char* file, int line, const Exception& e); - Exception(const char* file, int line, int errnoArg, const std::string& msg); + Exception(const char* file, int line, int errNum, const std::string& msg); virtual ~Exception() throw(); @@ -75,9 +74,9 @@ public: std::string stackTrace() const; - int getErrno() const + int getErrNum() const { - return errno_; + return errNum_; } }; |
