X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FException.hh;h=9cf7c8ad27237559c211c65554dd5e4c27fe019e;hb=445c71d8d242f4ce3d23d8db8d1faf909943cfec;hp=7162040d332c39c3bfc7f7fb833dc34f11dbf8a4;hpb=34378cabd0ef59515f60b8e535d50fd5488c84e2;p=senf.git diff --git a/Utils/Exception.hh b/Utils/Exception.hh index 7162040..9cf7c8a 100644 --- a/Utils/Exception.hh +++ b/Utils/Exception.hh @@ -1,9 +1,9 @@ // $Id$ // // Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Stefan Bund // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -109,12 +109,12 @@ namespace senf { public: virtual char const * what() const throw(); ///< Return verbose error description - int code() const; ///< Error code (\c errno number) + int errorNumber() const; ///< Error code (\c errno number) char const * description() const; ///< Error description (strerror() value) bool anyOf(int c0, int c1=0, int c2=0, int c3=0, int c4=0, int c5=0, int c6=0, int c7=0, int c8=0, int c9=0); - ///< \c true, if code() is one of \a c0 ... \a c9 + ///< \c true, if errorNumber() is one of \a c0 ... \a c9 virtual ~SystemException() throw(); @@ -180,8 +180,6 @@ namespace senf { */ void throwErrno(std::string const & where, int code); - enum NoThrow_t { nothrow }; - } ///////////////////////////////hh.e////////////////////////////////////////