00001 #ifndef OSDL_TEST_EXCEPTION_H_ 00002 #define OSDL_TEST_EXCEPTION_H_ 00003 00004 00005 #include "OSDLException.h" 00006 00007 #include <string> 00008 #include <iostream> 00009 00010 00011 00012 namespace OSDL 00013 { 00014 00015 00017 class OSDL_DLL TestException : public Exception 00018 { 00019 00020 public: 00021 explicit TestException( const std::string & reason ) throw() ; 00022 virtual ~TestException() throw() ; 00023 00024 } ; 00025 00026 } 00027 00028 00029 00030 OSDL_DLL std::ostream & operator << ( std::ostream & os, 00031 const OSDL::TestException & e ) ; 00032 00033 00034 #endif // OSDL_TEST_EXCEPTION_H_ 00035