LibBeamApi: BError Class Reference


Support Website
Search

Home Status Documentation Design Packages Packages 2.0.5 Admin

BError Class Reference

Error return class. More...

#include <BError.h>

Inheritance diagram for BError:

BEventError List of all members.

Public Types

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.
BErrorset (int errNo, BString errStr="")
 Set error number and message.
BErrorsetError (BString errStr="")
 Set error type ERROR with optional message.
BString getString () const
 Get error message.
int getErrorNo () const
 Get The error number.
 operator int () const
 Return error number.

Private Attributes

int oerrNo
BString oerrStr

Detailed Description

Error return class.


Member Enumeration Documentation

Enumerator:
NONE 
ERROR 


Constructor & Destructor Documentation

BError::BError ( int  errNo = NONE,
BString  errStr = "" 
)

Create object.

BError::BError ( BString  errStr  ) 

Create with error set and error string.


Member Function Documentation

BError BError::copy (  ) 

Return an independant copy.

BError & BError::set ( int  errNo,
BString  errStr = "" 
)

Set error number and message.

BError & BError::setError ( BString  errStr = ""  ) 

Set error type ERROR with optional message.

BString BError::getString (  )  const

Get error message.

int BError::getErrorNo (  )  const

Get The error number.

BError::operator int (  )  const

Return error number.


Member Data Documentation

int BError::oerrNo [private]


The documentation for this class was generated from the following files:
Generated on Thu Aug 2 16:17:02 2007 for LibBeamApi by  doxygen 1.5.1