00001 #ifndef SCT_STDEXCEPTIONWRAPPER_H 00002 #define SCT_STDEXCEPTIONWRAPPER_H 00003 00004 #include "Exception.h" 00005 00006 namespace Sct { 00007 00008 00009 class StdExceptionWrapper : public Exception { 00010 public: 00014 StdExceptionWrapper(const std::exception& exception) throw() { 00015 initialize("STD_ERROR", "Sct::StdExceptionWrapper", exception.what(), 0, "Unknown", 0); 00016 } 00017 00018 }; 00019 00020 00021 } 00022 00023 #endif //SCT_STDEXCEPTIONWRAPPER_H