#include <blpapi_exception.h>
Public Member Functions | |
Exception (const std::string &description) | |
const std::string & | description () const throw () |
virtual const char * | what () const throw () |
virtual | ~Exception () throw () |
This class defines a base exception for blpapi operations. Objects of this class contain the error description for the exception.
blpapi::Exception::Exception | ( | const std::string & | description | ) | [explicit] |
Create an exception object initialized with the specified description
.
virtual blpapi::Exception::~Exception | ( | ) | throw () [virtual] |
Destroy this object.
const std::string& blpapi::Exception::description | ( | ) | const throw () |
Return the error description supplied at construction.
virtual const char* blpapi::Exception::what | ( | ) | const throw () [virtual] |
Return the error description supplied at construction as a null-terminated character sequence.