Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

FluxException.h

Go to the documentation of this file.
00001 #ifndef FluxExecption_H_
00002 #define FluxExecption_H_
00003 
00013 #include <strstream>
00014 
00015 
00016 #define FATAL_MACRO(output)\
00017     do{std::ostrstream message; \
00018     message <<__FILE__<<":"<<__LINE__<<": "<<output<<'\0';\
00019 throw(message.str());}while(0)
00020 
00021 #define WARNING_MACRO(output)\
00022 std::cerr << output << std::endl;
00023 
00024 #endif // _ERROR_H_
00025 

Generated on Wed Oct 16 14:01:29 2002 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001