00001 /* Copyright (c) 2006, Gennady Bystritsky <bystr@mac.com> 00002 * 00003 * Distributed under the MIT Licence. 00004 * This is free software. See 'LICENSE' for details. 00005 * You must read and accept the license prior to use. 00006 */ 00007 00008 #ifndef _SK_UTIL_INTERRUPTEDEXCEPTION_ 00009 #define _SK_UTIL_INTERRUPTEDEXCEPTION_ 00010 00011 #include <sk/util/Exception.h> 00012 00013 namespace sk { 00014 namespace util { 00015 class InterruptedException 00016 : public sk::util::Exception 00017 { 00018 public: 00019 InterruptedException(const sk::util::String& message); 00020 00021 // sk::util::Object re-implementation. 00022 const sk::util::Class getClass() const; 00023 }; 00024 } 00025 } 00026 00027 #endif /* _SK_UTIL_INTERRUPTEDEXCEPTION_ */