BLPAPI C++  3.24.2
Exception Class Reference

#include <blpapi_exception.h>

Inheritance diagram for Exception:
DuplicateCorrelationIdException FieldNotFoundException IndexOutOfRangeException InvalidArgumentException InvalidConversionException InvalidStateException NotFoundException UnknownErrorException UnsupportedOperationException

Public Member Functions

 Exception (const std::string &description)
 
const std::string & description () const throw ()
 
virtual const char * what () const throw ()
 
virtual ~Exception () throw ()
 

Detailed Description

This class defines a base exception for blpapi operations. Objects of this class contain the error description for the exception.

See Component blpapi_exception

Constructor & Destructor Documentation

◆ Exception()

Exception ( const std::string &  description)
explicit

Create an exception object initialized with the specified description.

◆ ~Exception()

~Exception ( )
throw (
)
virtual

Destroy this object.

Member Function Documentation

◆ description()

const std::string & description ( ) const
throw (
)

Return the error description supplied at construction.

◆ what()

const char * what ( ) const
throw (
)
virtual

Return the error description supplied at construction as a null-terminated character sequence.


The documentation for this class was generated from the following file: