00001
00002 #ifndef DEFAULTSERVEREXCEPTIONHANDLER_V1_04_01_H_
00003 #define DEFAULTSERVEREXCEPTIONHANDLER_V1_04_01_H_
00004
00005 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
00006 # pragma once
00007 #endif
00008
00009 #include "ftc/ServerExceptionHandler.h"
00010
00011 #include <string>
00012 #include <stdexcept>
00013
00014 namespace tecgraf { namespace ftc { namespace v1_04_01 {
00015
00021 class DefaultServerExceptionHandler : public ServerExceptionHandler {
00022 public:
00024 DefaultServerExceptionHandler();
00025
00027 virtual ~DefaultServerExceptionHandler();
00028
00030 virtual void exception_raised(const std::string& msg);
00031
00033 virtual void exception_raised(const std::string& msg, const std::string& data_id);
00034
00036 virtual void exception_raised(const std::exception& e);
00037
00039 virtual void exception_raised(const std::exception& e, const std::string& data_id);
00040 };
00041
00042 }}}
00043
00044 #endif
00045