Error Class Reference

#include <ql/errors.hpp>

Inheritance diagram for Error:

Inheritance graph
[legend]
List of all members.

Detailed Description

Base error class.


Public Member Functions

 Error (const std::string &what="")
const char * what () const throw ()
 returns the error message.


Static Public Member Functions

std::string where (const char *file, long line)


Constructor & Destructor Documentation

Error const std::string &  what = ""  )  [explicit]
 

The explicit use of this constructor is not advised. Use the QL_FAIL macro instead.


QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen