DAVID4 SDK  1.8.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
david::FunctionException Class Reference

The remote procedure call was excecuted, but caused an error. More...

#include <Exceptions.h>

Inheritance diagram for david::FunctionException:
david::Exception

Public Member Functions

 FunctionException (int errorCode, const std::string &errorText, const std::string &errorSource)
 Constructor. More...
 
- Public Member Functions inherited from david::Exception
 Exception (int errorCode, const std::string &errorText, const std::string &errorSource)
 Constructor. More...
 
virtual ~Exception () throw ()
 Destructor.
 
int GetErrorCode () const
 Returns the error code. More...
 
std::string GetErrorText () const
 Returns a description for the error. More...
 
std::string GetErrorSource () const
 Returns information about the error source. More...
 
void PrintError ()
 Prints error information to error stream.
 

Detailed Description

The remote procedure call was excecuted, but caused an error.

This should be the more 'typical' exception. Associated error codes: All above david::CONNECTION_ERRORS.

Definition at line 99 of file Exceptions.h.

Constructor & Destructor Documentation

david::FunctionException::FunctionException ( int  errorCode,
const std::string &  errorText,
const std::string &  errorSource 
)

Constructor.

Parameters
[in]errorCodeError code.
[in]errorTextTextual description of the error.
[in]errorSourceSource of the error.

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