Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

CapiExternalError Class Reference

Capi Abstraction Layer exception class thrown if an error was caused by the application. More...

#include <capiexception.h>

Inheritance diagram for CapiExternalError:

CapiError List of all members.

Public Member Functions

 CapiExternalError (string errormsg, string function_name)
 Constructor. Create an object, print error message and abort if severity FATAL was chosen.
virtual string message ()
 Return nice formatted error message.

Detailed Description

Capi Abstraction Layer exception class thrown if an error was caused by the application.

This ecxeption should be raised by methods in the CAPI abstraction layer when an error was detected that was clearly caused by the application (e.g. giving an invalid file to send, ...).

Author:
Gernot Hillier


Constructor & Destructor Documentation

CapiExternalError::CapiExternalError string  errormsg,
string  function_name
[inline]
 

Constructor. Create an object, print error message and abort if severity FATAL was chosen.

Parameters:
errormsg informal message describing the error
function_name name of the function which throws this exception


Member Function Documentation

virtual string CapiExternalError::message  )  [inline, virtual]
 

Return nice formatted error message.

Returns the string "Classname: error message occured in function()"

Returns:
error message

Reimplemented from CapiError.


The documentation for this class was generated from the following file:
Generated on Sun Nov 28 14:37:44 2004 for CapiSuite by doxygen 1.3.8