MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
MathParser::ErrGeneric Class Reference

#include <mathp.h>

Inheritance diagram for MathParser::ErrGeneric:
Collaboration diagram for MathParser::ErrGeneric:

Public Member Functions

 ErrGeneric (const char *file, int line, const char *func, const std::string r=std::string())
 
 ErrGeneric (MathParser *p, const char *file, int line, const char *func, const std::string r=std::string())
 
- Public Member Functions inherited from MBDynErrBase
 MBDynErrBase (const char *file, int line, const char *func, const std::string r=std::string())
 
virtual ~MBDynErrBase (void) throw ()
 
void Set (const std::string &s)
 
const char * what (void) const throw ()
 

Detailed Description

Definition at line 281 of file mathp.h.

Constructor & Destructor Documentation

MathParser::ErrGeneric::ErrGeneric ( const char *  file,
int  line,
const char *  func,
const std::string  r = std::string() 
)

Definition at line 1921 of file mathp.cc.

1921  :
#define MBDYN_EXCEPT_ARGS_PASSTHRU
Definition: except.h:55
MBDynErrBase(const char *file, int line, const char *func, const std::string r=std::string())
Definition: except.cc:37
MathParser::ErrGeneric::ErrGeneric ( MathParser p,
const char *  file,
int  line,
const char *  func,
const std::string  r = std::string() 
)

Definition at line 1924 of file mathp.cc.

References MathParser::GetLineNumber(), and MBDynErrBase::what().

1924  :
1926  silent_cerr(what() << " at line " << p->GetLineNumber() << std::endl);
1927 }
#define MBDYN_EXCEPT_ARGS_PASSTHRU
Definition: except.h:55
const char * what(void) const
Definition: except.cc:54
int GetLineNumber(void) const
Definition: mathp.cc:1943
MBDynErrBase(const char *file, int line, const char *func, const std::string r=std::string())
Definition: except.cc:37

Here is the call graph for this function:


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