#include <BError.h>
Inheritance diagram for BError:

Public Types | |
| NONE = 0 | |
| ERROR = 1 | |
| enum | Type { NONE = 0, ERROR = 1 } |
Public Member Functions | |
| BError (int errNo=NONE, BString errStr="") | |
| Create object. | |
| BError (BString errStr) | |
| Create with error set and error string. | |
| BError | copy () |
| Return an independant copy. | |
| BError & | set (int errNo, BString errStr="") |
| Set error number and message. | |
| BError & | clear () |
| Clear the error. | |
| BError & | setError (BString errStr="") |
| Set error type ERROR with optional message. | |
| BString | getString () const |
| Get error message. | |
| int | getNumber () const |
| Get The error number. | |
| int | getErrorNo () const |
| Get The error number. | |
| operator int () const | |
| Return error number. | |
Private Attributes | |
| int | oerrNo |
| BString | oerrStr |
| enum BError::Type |
| BError::BError | ( | int | errNo = NONE, |
|
| BString | errStr = "" | |||
| ) |
Create object.
| BError::BError | ( | BString | errStr | ) |
Create with error set and error string.
| BError & BError::clear | ( | ) |
Clear the error.
| BError BError::copy | ( | ) |
Return an independant copy.
| int BError::getErrorNo | ( | ) | const |
Get The error number.
| int BError::getNumber | ( | ) | const |
Get The error number.
| BString BError::getString | ( | ) | const |
Get error message.
| BError::operator int | ( | ) | const [inline] |
Return error number.
int BError::oerrNo [private] |
BString BError::oerrStr [private] |
1.4.7