cvc4-1.4
|
An exception that is thrown when a datatype resolution fails. More...
#include <datatype.h>
Public Member Functions | |
DatatypeResolutionException (std::string msg) | |
void | setMessage (const std::string &msg) throw () |
std::string | getMessage () const throw () |
virtual const char * | what () const throw () |
std::string | toString () const throw () |
Get this exception as a string. | |
virtual void | toStream (std::ostream &os) const throw () |
Printing: feel free to redefine toStream(). | |
Protected Attributes | |
std::string | d_msg |
An exception that is thrown when a datatype resolution fails.
Definition at line 87 of file datatype.h.
|
inline |
Definition at line 658 of file datatype.h.
|
inlineinherited |
Definition at line 47 of file exception.h.
|
inlineinherited |
Definition at line 46 of file exception.h.
|
inlinevirtualinherited |
Printing: feel free to redefine toStream().
When overridden in a derived class, it's recommended that this method print the type of exception before the actual message.
Reimplemented in CVC4::parser::ParserException, and CVC4::TypeCheckingException.
Definition at line 75 of file exception.h.
|
inlineinherited |
Get this exception as a string.
Note that cout << ex.toString(); is subtly different from cout << ex; which is equivalent to ex.toStream(cout); That is because with the latter two, the output language (and other preferences) for exprs on the stream is respected. In toString(), there is no stream, so the parameters are default and you'll get exprs and types printed using the AST language.
Definition at line 64 of file exception.h.
|
inlinevirtualinherited |
Definition at line 50 of file exception.h.
|
protectedinherited |
Definition at line 34 of file exception.h.