TF++, Miscellaneous classes and modules in C++:
Interface provided through error.h

Interface provided through error.h. More...

Collaboration diagram for Interface provided through error.h:

Files

file  error.h
 exceptions and error handling macros (prototypes)
 

Namespaces

 tfxx::error
 Error handling.
 

Classes

class  tfxx::error::Exception
 Base class for exceptions. More...
 

Macros

#define TFXX_Xassert(C, M, E)   if (!(C)) { throw( E ( M , __FILE__, __LINE__, #C )); }
 Check an assertion and report by throwing an exception. More...
 
#define TFXX_assert(C, M)   TFXX_Xassert( C , M , tfxx::error::Exception )
 Check an assertion and report by throwing an exception. More...
 
#define TFXX_abort(M)   throw( tfxx::error::Exception ( M , __FILE__, __LINE__ ))
 Abort and give a message. More...
 

Detailed Description

Interface provided through error.h.