|
ldas-tools-al 2.6.7
|
System Includes. More...
#include <errorinfo.hh>
Public Member Functions | |
| 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::ErrorInfo | ( | int | library, |
| int | code, | ||
| const std::string & | 1, | ||
| const std::string & | info = "", | ||
| const char * | file = 0, | ||
| size_t | line = 0 ) |
Constructor.
| 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::ErrorInfo | ( | const ErrorInfo & | e | ) |
Copy constructor.
Copy Constructor.
| e | Source |
| e |
| ErrorInfo::ErrorInfo | ( | int | library, |
| int | code, | ||
| const std::string & | 1, | ||
| const std::string & | info = "", | ||
| const char * | file = 0, | ||
| size_t | line = 0 ) |
Constructor.
| 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::ErrorInfo | ( | const ErrorInfo & | e | ) |
Copy constructor.
| e | Source |
|
inline |
Get Error Code.
|
inline |
Get File Name.
Get the name of the file in which the error was thrown.
|
inline |
Get Error Information.
Returns additional information about the error.
|
inline |
Get Library.
|
inline |
Get Line Number.
Get the line number on which the error was thrown.
|
inline |
Get Error Message.
Returns a text representation of the error code.
return const std::string&
|
inline |
Not-Equal Comparison.
| e |
| bool ErrorInfo::operator== | ( | const ErrorInfo & | e | ) | const |
Equal Comparison.
| e |