gatb.core-API-1.4.2
Exception Class Reference

Exception class for operating system failures. More...

#include <Exception.hpp>

Inheritance diagram for Exception:
Inheritance graph

Public Member Functions

 Exception ()
 
 Exception (const char *format,...)
 
const char * getMessage () const
 

Protected Attributes

std::string _message
 

Detailed Description

Exception class for operating system failures.

This class is used in GATB-CORE for throwing typed exceptions.

Constructor & Destructor Documentation

Exception ( )
inline

Default constructor.

Exception ( const char *  format,
  ... 
)
inline

Constructor with some information in a "printf" way.

Parameters
[in]format: format of the message
[in]...: arguments for the format parameter

Member Function Documentation

const char* getMessage ( ) const
inline

Returns the description message.

Returns
the message

Member Data Documentation

std::string _message
protected

The informative message.


The documentation for this class was generated from the following file: