Logo Search packages:      
Sourcecode: quantlib version File versions  Download package

Classes | Namespaces | Defines

errors.hpp File Reference

Classes and functions for error handling. More...

#include <ql/qldefines.hpp>
#include <boost/assert.hpp>
#include <boost/current_function.hpp>
#include <boost/shared_ptr.hpp>
#include <exception>
#include <sstream>
Include dependency graph for errors.hpp:

Go to the source code of this file.

Classes

class  QuantLib::Error
 Base error class. More...

Namespaces

namespace  QuantLib

Defines

#define QL_ASSERT(condition, message)
 throw an error if the given condition is not verified
#define QL_ENSURE(condition, message)
 throw an error if the given post-condition is not verified
#define QL_FAIL(message)
 throw an error (possibly with file and line information)
#define QL_REQUIRE(condition, message)
 throw an error if the given pre-condition is not verified

Detailed Description

Classes and functions for error handling.

Definition in file errors.hpp.


Generated by  Doxygen 1.6.0   Back to index