TTMath  0.9.4
 C++ bignum library
Public Member Functions
ttmath::RuntimeError Class Reference

#include <ttmathtypes.h>

Inheritance diagram for ttmath::RuntimeError:
Inheritance graph
[legend]
Collaboration diagram for ttmath::RuntimeError:
Collaboration graph
[legend]

Public Member Functions

 RuntimeError (const char *f, int l)
 
std::string Where () const
 

Detailed Description

a small class used for reporting errors

in the library is used macro TTMATH_ASSERT which (if the condition in it is false) throw an exception of this type

if you compile with gcc you can get a small benefit from using method Where() (it returns std::string) with the name and the line of a file where the macro TTMATH_ASSERT was used)

Definition at line 624 of file ttmathtypes.h.


The documentation for this class was generated from the following file: