Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members

LoggingException Class Reference

#include <LoggingExceptions.h>

Inheritance diagram for LoggingException:

Exception List of all members.

Public Member Functions

 LoggingException (const std::string &source, int line_number, const std::string &method, int code, const std::string &exception)
 LoggingException (const std::string &source, int line_number, const std::string &method, int code, const std::string &exception, const glite::wmsutils::exception::Exception &exc)

Detailed Description

Exception encapsulating error states originating in the L&B.

This class is simple child of the base Exception class, adding no new functionality. Its purpose is to differentiate the error conditions originating in the L&B subsystem from other errors (such as system ones).


Constructor & Destructor Documentation

LoggingException::LoggingException const std::string &  source,
int  line_number,
const std::string &  method,
int  code,
const std::string &  exception
[inline]
 

Constructor for mandatory fields.

Updates all the mandatory fields and names the exception.

Parameters:
[in] source Source filename where the exception was raised.
[in] line_number Line in the source that caused the exception.
[in] method Name of the method that raised the exception.
[in] code Error code giving the reason for exception.
[in] exception Error message describing the exception.

LoggingException::LoggingException const std::string &  source,
int  line_number,
const std::string &  method,
int  code,
const std::string &  exception,
const glite::wmsutils::exception::Exception &  exc
[inline]
 

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.

Parameters:
[in] source Source filename where the exception was raised.
[in] line_number Line in the source that caused the exception.
[in] method Name of the method that raised the exception.
[in] code Error code giving the reason for exception.
[in] exception Error message describing the exception.
[in] exc Originally raised exception.


The documentation for this class was generated from the following file:
Generated on Mon May 5 15:16:55 2008 for Glite LB Client: CPP - Interface by  doxygen 1.3.9.1