I have a c++ application running on Linux platform. As part of exception handling, I wanted to derive my user defined exception class from standard runtime_error class.
Are there any known issues/problems between linux OS and runtime_error class? This might sound a little weird but I have seen people avoiding runtime_error class on linux:
#ifdef HPUX
class myException : public std::runtime_er ror
#endif
#ifdef LINUX
class myExcpetion
#endif
{ // class definition starts here
Any thoughts would be highly appreciated....
Thanks.
Are there any known issues/problems between linux OS and runtime_error class? This might sound a little weird but I have seen people avoiding runtime_error class on linux:
#ifdef HPUX
class myException : public std::runtime_er ror
#endif
#ifdef LINUX
class myExcpetion
#endif
{ // class definition starts here
Any thoughts would be highly appreciated....
Thanks.
Comment