Salome HOME
DCQ : Merge with Ecole_ete_a6.
[modules/kernel.git] / src / Utils / Utils_ExceptHandlers.cxx
1 // File:        Utils_ExceptHandler.cxx
2 // Created:     Mon Mar 15 10:23:41 2004
3 // Author:      Oksana TCHEBANOVA
4 //              <ota@localhost.localdomain>
5
6
7 #include <Utils_ExceptHandlers.hxx>
8 #include "Utils_CorbaException.hxx"
9 #include "Utils_SALOME_Exception.hxx"
10 #include <SALOMEconfig.h>
11 #include CORBA_SERVER_HEADER(SALOME_Exception)
12
13 void SalomeException ()
14 {
15   throw SALOME_Exception("Salome Exception");
16 }
17
18 void SALOME_SalomeException() {
19   THROW_SALOME_CORBA_EXCEPTION("INTERNAL ERROR", SALOME::INTERNAL_ERROR);
20 }
21