coco::inference_engine_exception Class Reference
[Basic API utilities]

Inference engine exception class. More...

#include <inference_engine.h>

Inheritance diagram for coco::inference_engine_exception:

Inheritance graph
[legend]
Collaboration diagram for coco::inference_engine_exception:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 inference_engine_exception (const std::string &msg)
 inference_engine_exception (const char *msg)
virtual ~inference_engine_exception () throw ()
virtual char const * what () const throw ()
virtual api_exception_type type () const throw ()
virtual const char * type_str () const throw ()
virtual std::string message () const throw ()


Detailed Description

This is the exceptions class thrown by inference_engine subclasses. Every properly coded COCONUT inference engine module should only throw exceptions of this type.

Definition at line 55 of file inference_engine.h.


Constructor & Destructor Documentation

coco::inference_engine_exception::inference_engine_exception ( const std::string &  msg  )  [inline]

Constructor, setting the message to msg.

Definition at line 59 of file inference_engine.h.

coco::inference_engine_exception::inference_engine_exception ( const char *  msg  )  [inline]

Constructor, setting the message to msg.

Definition at line 62 of file inference_engine.h.

virtual coco::inference_engine_exception::~inference_engine_exception (  )  throw () [inline, virtual]

Standard Destructor

Definition at line 66 of file inference_engine.h.


Member Function Documentation

virtual std::string coco::api_exception::message (  )  const throw () [inline, virtual, inherited]

This method returns the message as C++-string.

Definition at line 104 of file api_exception.h.

virtual api_exception_type coco::api_exception::type (  )  const throw () [inline, virtual, inherited]

This method returns the exception type as enum value.

Definition at line 95 of file api_exception.h.

const char * coco::api_exception::type_str (  )  const throw () [virtual, inherited]

This method returns the exception type as C-string.

Definition at line 57 of file api_exception.cc.

virtual char const* coco::api_exception::what (  )  const throw () [inline, virtual, inherited]

This method returns the message as C-string.

Definition at line 89 of file api_exception.h.


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

Generated on Tue Feb 9 14:49:15 2010 for COCONUT API by  doxygen 1.5.8