System Includes.
More...
#include <errorinfo.hh>
|
| ErrorInfo (int library, int code, const std::string &1, const std::string &info="", const char *file=0, size_t line=0) |
| Constructor.
|
| ErrorInfo (const ErrorInfo &e) |
| Copy constructor.
|
| ~ErrorInfo () |
| Destructor.
|
const ErrorInfo & | operator= (const ErrorInfo &e) |
| Assign.
|
bool | operator== (const ErrorInfo &e) const |
| Equal Comparison.
|
bool | operator!= (const ErrorInfo &e) const |
| Not-Equal Comparison.
|
int | getLibrary () const |
| Get Library.
|
int | getCode () const |
| Get Error Code.
|
const std::string & | getMessage () const |
| Get Error Message.
|
const std::string & | getInfo () const |
| Get Error Information.
|
const char * | getFile () const |
| Get File Name.
|
size_t | getLine () const |
| Get Line Number.
|
| ErrorInfo (int library, int code, const std::string &1, const std::string &info="", const char *file=0, size_t line=0) |
| Constructor.
|
| ErrorInfo (const ErrorInfo &e) |
| Copy constructor.
|
| ~ErrorInfo () |
| Destructor.
|
const ErrorInfo & | operator= (const ErrorInfo &e) |
| Assign.
|
System Includes.
Error Information
This class is used by the LdasException class to store information about a thrown exception.
◆ ErrorInfo() [1/4]
ErrorInfo::ErrorInfo |
( |
int | library, |
|
|
int | code, |
|
|
const std::string & | 1, |
|
|
const std::string & | info = "", |
|
|
const char * | file = 0, |
|
|
size_t | line = 0 ) |
Constructor.
- Parameters
-
library | Library enumerated type |
code | Error code |
msg | String representation of error code. |
info | Addition information specific to the error |
file | File in which the error was thrown. |
line | Line number in file where error was thrown. |
library | |
code | |
msg | |
info | |
file | |
line | |
◆ ErrorInfo() [2/4]
Copy constructor.
Copy Constructor.
- Parameters
-
◆ ErrorInfo() [3/4]
ErrorInfo::ErrorInfo |
( |
int | library, |
|
|
int | code, |
|
|
const std::string & | 1, |
|
|
const std::string & | info = "", |
|
|
const char * | file = 0, |
|
|
size_t | line = 0 ) |
Constructor.
- Parameters
-
library | Library enumerated type |
code | Error code |
msg | String representation of error code. |
info | Addition information specific to the error |
file | File in which the error was thrown. |
line | Line number in file where error was thrown. |
◆ ErrorInfo() [4/4]
Copy constructor.
- Parameters
-
◆ getCode()
int ErrorInfo::getCode |
( |
| ) |
const |
|
inline |
Get Error Code.
- Returns
- int
◆ getFile()
const char * ErrorInfo::getFile |
( |
| ) |
const |
|
inline |
Get File Name.
Get the name of the file in which the error was thrown.
- Returns
- const char*
◆ getInfo()
const std::string & ErrorInfo::getInfo |
( |
| ) |
const |
|
inline |
Get Error Information.
Returns additional information about the error.
- Returns
- const std::string&
◆ getLibrary()
int ErrorInfo::getLibrary |
( |
| ) |
const |
|
inline |
Get Library.
- Returns
- int The number of the library which threw the exception.
◆ getLine()
size_t ErrorInfo::getLine |
( |
| ) |
const |
|
inline |
Get Line Number.
Get the line number on which the error was thrown.
- Returns
- size_t
◆ getMessage()
const std::string & ErrorInfo::getMessage |
( |
| ) |
const |
|
inline |
Get Error Message.
Returns a text representation of the error code.
return const std::string&
◆ operator!=()
bool ErrorInfo::operator!= |
( |
const ErrorInfo & | e | ) |
const |
|
inline |
Not-Equal Comparison.
- Parameters
-
- Returns
- bool
◆ operator=()
Assign.
Assignment Operator.
- Parameters
-
- Returns
- const ErrorInfo&
◆ operator==()
bool ErrorInfo::operator== |
( |
const ErrorInfo & | e | ) |
const |
Equal Comparison.
- Parameters
-
- Returns
- bool
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/ldas-tools-al-2.6.7-build/ldas-tools-al-2.6.7/build/include/ldastoolsal/errorinfo.hh
- /home/abuild/rpmbuild/BUILD/ldas-tools-al-2.6.7-build/ldas-tools-al-2.6.7/src/errorinfo.hh
- /home/abuild/rpmbuild/BUILD/ldas-tools-al-2.6.7-build/ldas-tools-al-2.6.7/src/errorinfo.cc