MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / ap_error

Class ap_error

src/ap.h:93–106  ·  view source on GitHub ↗

Exception class. ********************************************************************/

Source from the content-addressed store, hash-verified

91Exception class.
92********************************************************************/
93class ap_error
94{
95public:
96 ap_error(){};
97 ap_error(const char *s){ msg = s; };
98
99 std::string msg;
100
101 static void make_assertion(bool bClause)
102 { if(!bClause) throw ap_error(); };
103 static void make_assertion(bool bClause, const char *msg)
104 { if(!bClause) throw ap_error(msg); };
105private:
106};
107
108/********************************************************************
109Class defining a complex number with double precision.

Callers 1

make_assertionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected