00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef _SK_RT_THREAD_UNCAUGHTEXCEPTIONHANDLER_H_
00012 #define _SK_RT_THREAD_UNCAUGHTEXCEPTIONHANDLER_H_
00013
00014 #include <sk/util/Object.h>
00015 #include <exception>
00016
00017 namespace sk {
00018 namespace rt {
00019 namespace thread {
00020 class Generic;
00021
00022 class UncaughtExceptionHandler
00023 : public virtual sk::util::Object
00024 {
00025 public:
00026 virtual void uncaughtException(sk::rt::thread::Generic& thread, const std::exception& exception) = 0;
00027 virtual void uncaughtException(sk::rt::thread::Generic& thread) = 0;
00028 };
00029 }
00030 }
00031 }
00032
00033 #endif