virtual const char* what() const throw() {return "OutOfRangeException";}
};
+class NotImplementedException : public exception::Exception {
+ // 機能が未実装である場合などに送出される例外です。
+ // compositeパターンにおいて、利用できない機能の場合に送出したりすることが
+ // できます。
+ public:
+ NotImplementedException(const unicode::UniString& message,
+ const ExceptionInfo& info)
+ : Exception(message, info) {}
+
+ NotImplementedException(const Exception& prev, const unicode::UniString& message,
+ const ExceptionInfo& info)
+ : Exception(prev, message, info) {}
+ virtual const char* what() const throw() {return "NotImplementedException";}
+};
+
}
}