A dummy quote class that throws an exception when value is called. More...
#include <qle/quotes/exceptionquote.hpp>
Inheritance diagram for ExceptionQuote:Public Member Functions | |
| ExceptionQuote (std::string exception="you've hit an 'ExceptionQuote'") | |
Inspectors | |
| Real | quote () const |
Quote interface | |
| Real | value () const override |
| bool | isValid () const override |
Observer interface | |
| std::string | exception_ |
| void | update () override |
A dummy quote class that throws an exception when value is called.