00001 // Author: Daniel Albuschat ( daniel@viming.de ) 00002 // File: except.h 00003 // Date: Wed Mar 26 21:30:35 20030 00004 // Content: 00005 00006 #ifndef CRS_EXCEPT_H_1861850760 00007 #define CRS_EXCEPT_H_1861850760 00008 #include <string> 00009 00010 namespace crs { 00012 namespace except { 00013 00014 class syscall{ 00015 int _result; 00016 std::string _call; 00017 public: 00018 syscall( std::string, int ); 00019 int result() const { 00020 return _result; 00021 } 00022 std::string call() const { 00023 return _call; 00024 } 00025 00026 }; 00027 00028 } 00029 } 00030 00031 #endif 00032