#include <XrdSsiErrInfo.hh>
The XrdSsiErrInfo object is used to hold error information for many ssi client-oriented requests.
XrdSsiErrInfo::XrdSsiErrInfo |
( |
| ) |
|
|
inline |
Constructor and Destructor.
XrdSsiErrInfo::~XrdSsiErrInfo |
( |
| ) |
|
|
inline |
void XrdSsiErrInfo::Clr |
( |
| ) |
|
|
inline |
const char* XrdSsiErrInfo::Errno2Text |
( |
int |
ecode | ) |
|
|
private |
const std::string& XrdSsiErrInfo::Get |
( |
int & |
eNum | ) |
const |
|
inline |
Get current error information.
- Parameters
-
eNum | place where the error number is to be placed. |
- Returns
- The error text and the error number value.
References errNum, and errText.
const std::string& XrdSsiErrInfo::Get |
( |
| ) |
const |
|
inline |
Get current error text.
- Returns
- The error text.
References errText.
int XrdSsiErrInfo::GetArg |
( |
| ) |
const |
|
inline |
Get current error argument.
- Returns
- the error argument value.
References errArg.
bool XrdSsiErrInfo::hasError |
( |
| ) |
const |
|
inline |
Check if there is an error.
- Returns
- True if an error exists and false otherwise.
References errNum.
bool XrdSsiErrInfo::isOK |
( |
| ) |
const |
|
inline |
Check if there is no error.
- Returns
- True if no error exists and false otherwise.
References errNum.
void XrdSsiErrInfo::Set |
( |
const char * |
eMsg = 0 , |
|
|
int |
eNum = 0 , |
|
|
int |
eArg = 0 |
|
) |
| |
|
inline |
void XrdSsiErrInfo::Set |
( |
const std::string & |
eMsg, |
|
|
int |
eNum = 0 , |
|
|
int |
eArg = 0 |
|
) |
| |
|
inline |
int XrdSsiErrInfo::errArg |
|
private |
int XrdSsiErrInfo::errNum |
|
private |
std::string XrdSsiErrInfo::errText |
|
private |
The documentation for this class was generated from the following file: