A dummy quote class that throws an exception when value is called. More...
#include <qle/quotes/exceptionquote.hpp>
Inheritance diagram for ExceptionQuote:
Collaboration 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.
Definition at line 36 of file exceptionquote.hpp.
| ExceptionQuote | ( | std::string | exception = "you've hit an 'ExceptionQuote'" | ) |
Definition at line 38 of file exceptionquote.hpp.
| Real quote | ( | ) | const |
Definition at line 41 of file exceptionquote.hpp.
|
override |
Definition at line 48 of file exceptionquote.hpp.
|
override |
Definition at line 52 of file exceptionquote.hpp.
|
override |
Definition at line 59 of file exceptionquote.hpp.
|
protected |
Definition at line 62 of file exceptionquote.hpp.