00001 #ifndef OSDL_EXCEPTION_H_
00002 #define OSDL_EXCEPTION_H_
00003
00004
00005 #include "Ceylan.h"
00006
00007 #include <string>
00008 #include <iostream>
00009
00010
00011 namespace OSDL
00012 {
00013
00014
00021 class OSDL_DLL Exception : public Ceylan::Exception
00022 {
00023
00024 public:
00025
00026
00034 explicit Exception( const std::string & reason ) throw() ;
00035
00036
00038 virtual ~Exception() throw() ;
00039
00040
00041 } ;
00042
00043 }
00044
00045
00046
00057 OSDL_DLL std::ostream & operator << ( std::ostream & os,
00058 const OSDL::Exception & e ) throw() ;
00059
00060
00061
00062 #endif // OSDL_EXCEPTION_H_
00063