#include <LoggingExceptions.h>
Inheritance diagram for Exception:
Public Member Functions | |
Exception (const std::string &source, int line_number, const std::string &method, int code, const std::string &exception) | |
Exception (const std::string &source, int line_number, const std::string &method, int code, const std::string &exception, const glite::wmsutils::exception::Exception &exc) |
This class serves as a common base for all exceptions thrown by the L&B C++ API classes. In case when the exception is constructed from another exception (creating chained exception list), the error message is created by concatenating the error message of the original exception and the new error message. All the other functionality (printing error message, logging it, printing stack trace) is inherited from the base class glite::wmsutils::exception::Exception.
|
Constructor for mandatory fields. Updates all the mandatory fields and names the exception.
|
|
Constructor for mandatory fields and the exception chain. Updates all the mandatory fields, names the exception and adds the original exception's error message to the current one.
|