Version: 6.3.1
Public Member Functions | Protected Attributes | Private Member Functions | Friends

MEDMEM.MEDEXCEPTION Class Reference

#include <MEDMEM_Exception.hxx>

Inheritance diagram for MEDMEM.MEDEXCEPTION:
Inheritance graph

Public Member Functions

 MEDEXCEPTION (const char *text, const char *fileName=0, const unsigned int lineNumber=0)
 MEDEXCEPTION (const MEDEXCEPTION &ex)
 ~MEDEXCEPTION () throw ()
virtual const char * what (void) const throw ()

Protected Attributes

char * _text

Private Member Functions

 MEDEXCEPTION (void)

Friends

ostream & operator<< (ostream &os, const MEDEXCEPTION &ex)

Constructor & Destructor Documentation

MEDEXCEPTION::MEDEXCEPTION ( void  ) [private]

Default Constructor (Should not be used)

References INTERRUPTION_MED, and MESSAGE_MED.

MEDEXCEPTION::MEDEXCEPTION ( const char *  text,
const char *  fileName = 0,
const unsigned int  lineNumber = 0 
)

Constructor :
It will create the text of the MEDEXCEPTION from the different parameters. It will take the form :
MEDEXCEPTION, fileName, lineNumber and text of the exception

References MEDMEM.MEDEXCEPTION._text, and MESSAGE_MED.

MEDEXCEPTION::MEDEXCEPTION ( const MEDEXCEPTION ex)

Copy Constructor :
Should not be used very often

MEDEXCEPTION::~MEDEXCEPTION ( ) throw ()

Destructor :
If necessary desallocates Memory

References MEDMEM.MEDEXCEPTION._text, and ASSERT_MED.


Member Function Documentation

const char * MEDEXCEPTION::what ( void  ) const throw () [virtual]

Return a char * which contain the message.

References MEDMEM.MEDEXCEPTION._text.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  os,
const MEDEXCEPTION ex 
) [friend]

Field Documentation

char* MEDMEM.MEDEXCEPTION._text [protected]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS