29 #if !defined( __Utils_SALOME_Exception_hxx__ ) 
   30 #define __Utils_SALOME_Exception_hxx__ 
   40 #if defined(_DEBUG_) || defined(_DEBUG) 
   41 # define LOCALIZED(message) #message , __FILE__ , __LINE__ 
   43 # define LOCALIZED(message) #message 
   50 # if defined UTILS_EXPORTS || defined OpUtil_EXPORTS 
   51 #  define UTILS_EXPORT __declspec( dllexport ) 
   53 #  define UTILS_EXPORT __declspec( dllimport ) 
   55 #  define LOCALIZED(message) #message 
   63 UTILS_EXPORT std::ostream& operator<<( std::ostream&, 
const SALOME_Exception& );
 
   65 UTILS_EXPORT 
const char *makeText( 
const char *text, 
const char *fileName, 
const unsigned int lineNumber );
 
   77         SALOME_Exception( 
const char *text, 
const char *fileName=0, 
const unsigned int lineNumber=0 );
 
   80         UTILS_EXPORT 
friend std::ostream & operator<<( std::ostream &os , 
const SALOME_Exception &ex );
 
   81         virtual const char *what( 
void ) 
const throw () ;