#include <ppftypes.hpp>
Public Member Functions | |
| ppf_error () | |
| Basic Constructor. | |
| ppf_error (string errormsg) | |
| Initialising constructor. | |
| ppf_error (string name, int value) | |
| Initialising constructor. | |
| ppf_error (string name, int value, string errormsg) | |
| Initialising constructor. | |
Public Attributes | |
| const int | code |
| Holds the PPF system error code. | |
| const string | method |
| Holds the name of PPF method which failed. | |
| const string | message |
| Holds a decriptive error message. | |
Thrown when an error occurs in the PPF system.
| ppf::ppf_error::ppf_error | ( | string | errormsg | ) | [inline] |
Initialising constructor.
Sets error message to passed string. PPF routine and error code are set to null.
| errormsg | String containing the error message. |
| ppf::ppf_error::ppf_error | ( | string | name, | |
| int | value | |||
| ) | [inline] |
Initialising constructor.
Sets PPF routine and error code to passed values. Sets message to a default error message.
| name | String containing name of PPF routine which failed. | |
| value | Integer containing error code returned by failed PPF routine. |
| ppf::ppf_error::ppf_error | ( | string | name, | |
| int | value, | |||
| string | errormsg | |||
| ) | [inline] |
Initialising constructor.
Sets failed ppf routine name, code and error message to passed values.
| name | String containing name of PPF routine which failed. | |
| value | Integer containing error code returned by failed PPF routine. | |
| errormsg | String containing the error message. |
1.5.1