Class Index | Cross Index | Namespace Index |
Error Information
Contained in: global
Derived from:
none
Derived by:
none
#include "general/errorinfo.hh"
public function member index: |
|||
ErrorInfo | (int library, int code, const std::string& msg, const std::string& info = "", const char* file = 0, size_t line = 0); | ||
ErrorInfo | (const ErrorInfo& e); | ||
~ErrorInfo | (); | ||
inline int | getCode | () const; | Get Error Code |
inline const char* | getFile | () const; | Get File Name |
inline const std::string& | getInfo | () const; | Get Error Information |
inline int | getLibrary | () const; | Get Library |
inline size_t | getLine | () const; | Get Line Number |
inline const std::string& | getMessage | () const; | Get Error Message |
inline bool | operator != | (const ErrorInfo& e) const; | Not-Equal Comparison |
const ErrorInfo& | operator = | (const ErrorInfo& e); | |
bool | operator == | (const ErrorInfo& e) const; | |
This class is used by the LdasException class to store information about
a thrown exception.
Return value:
int
Get the name of the file in which the error was thrown.
Return value:
const char*
Returns additional information about the error.
Return value:
const std::string&
Return value:
intThe number of the library which threw the exception.
Get the line number on which the error was thrown.
Return value:
size_t
Returns a text representation of the error code.
Parameters:
Parameter | Description |
const ErrorInfo& e |
Return value:
bool