Utils: Implement Tags.hh and move 'senf::noinit' and 'senf::nothrow' there
[senf.git] / Utils / Exception.hh
index 7162040..787a499 100644 (file)
@@ -1,9 +1,9 @@
 // $Id$
 //
 // Copyright (C) 2006
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-//     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS) 
+// Competence Center NETwork research (NET), St. Augustin, GERMANY 
+//     Stefan Bund <g0dil@berlios.de>
 //
 // 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////////////////////////////////////////