25 EventInvalid(
const string& whatArg) : runtime_error(whatArg), domain_error(whatArg){
26 cerr <<
"EXCEPTION EventInvalid -> " << whatArg << endl;
43 const string & message()
const;
44 const Port & port()
const;
45 void setMessage(
const string & label);
46 void setPort(
const Port & p);
47 string label()
const {
return port().
label() +
"." + message(); }
bool isObservable() const
EventInvalid(const string &whatArg)
ostream & operator<<(ostream &os, const StateNode< T > &stateNode)
#define require(Exception, expr, message)
Namespace of the Diades project.
bool isObservable() const
const string & label() const