#ifndef _UTILS_CORBAEXCEPTION_HXX_
#define _UTILS_CORBAEXCEPTION_HXX_
+#include <SALOME_Utils.hxx>
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SALOME_Exception)
throw SALOME::SALOME_Exception(ExDescription); \
}
-#include <ostream.h>
+#include <ostream>
+
//Dump the CORBA exception type.
-static ostream& operator<<(ostream& os, const CORBA::Exception& e)
+inline std::ostream& operator<<(std::ostream& os, const CORBA::Exception& e)
{
CORBA::Any tmp;
tmp<<= e;
return os;
}
+
#endif