Error Class Reference

#include <ql/errors.hpp>

List of all members.


Detailed Description

Base error class.


Public Member Functions

 Error (const std::string &file, long line, const std::string &function, const std::string &message="")
 ~Error () throw ()
const char * what () const throw ()
 returns the error message.


Constructor & Destructor Documentation

Error ( const std::string &  file,
long  line,
const std::string &  function,
const std::string &  message = "" 
)

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

~Error (  )  throw ()

the automatically generated destructor would not have the throw specifier.