Z3
Public Member Functions | Friends
exception Class Reference

Exception used to sign API usage errors. More...

+ Inheritance diagram for exception:

Public Member Functions

virtual ~exception ()=default throw ()
 
 exception (char const *msg)
 
char const * msg () const
 
char const * what () const throw ()
 

Friends

std::ostream & operator<< (std::ostream &out, exception const &e)
 

Detailed Description

Exception used to sign API usage errors.

Definition at line 87 of file z3++.h.

Constructor & Destructor Documentation

◆ ~exception()

virtual ~exception ( )
throw (
)
virtualdefault

◆ exception()

exception ( char const *  msg)
inline

Definition at line 91 of file z3++.h.

91 :m_msg(msg) {}
char const * msg() const
Definition: z3++.h:92

Member Function Documentation

◆ msg()

char const* msg ( ) const
inline

Definition at line 92 of file z3++.h.

92 { return m_msg.c_str(); }

◆ what()

char const* what ( ) const
throw (
)
inline

Definition at line 93 of file z3++.h.

93 { return m_msg.c_str(); }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
exception const &  e 
)
friend

Definition at line 96 of file z3++.h.

96 { out << e.msg(); return out; }