Version: 9.12.0
SALOME_Exception.idl File Reference

This file contains the objects defining the main exception used in SALOME application. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SALOME::ExceptionStruct
 This struct contains a set of fields defining the structure of the exception. More...
 
exception  SALOME::SALOME_Exception
 The main exception in SALOME application. More...
 

Modules

 SALOME
 Module SALOME contains all base interfaces of SALOME Kernel.
 

Enumerations

enum  SALOME::ExceptionType { SALOME::COMM , SALOME::BAD_PARAM , SALOME::INTERNAL_ERROR }
 This enumeration contains the elements indicating the type of the exception which can be raised during SALOME session. More...
 

Detailed Description

This file contains the objects defining the main exception used in SALOME application.

The idl SALOME_Exception provides a generic CORBA exception for SALOME, with an attribute that gives an exception type,a message, plus optional source file name and line number. This idl is intended to serve for all user CORBA exceptions raised in SALOME code, as IDL specification does not support exception inheritance. So, all the user CORBA exceptions from SALOME could be handled in a single catch.