Go to the source code of this file.
#define THROW_EXCEPTION |
( |
|
__except_type, |
|
|
|
__msg |
|
) |
| throw __except_type( (__msg), (__FILE__), (__LINE__) ); |
#define ASSERT_EXCEPTION |
( |
|
__condition, |
|
|
|
__except_type, |
|
|
|
__msg |
|
) |
| |
Value:if (! (__condition) ) { \
std::string newmsg = #__condition; \
newmsg += " evaluated false: "; \
newmsg += __msg; \
throw __except_type( (newmsg), (__FILE__), (__LINE__) ); \
}
Definition at line 126 of file IpException.hpp.
#define DECLARE_STD_EXCEPTION |
( |
|
__except_type | ) |
|
Value:
{ \
public: \
__except_type(std::string msg, std::string fname,
Ipopt::Index line) \
__except_type(const __except_type& copy) \
private: \
__except_type(); \
}
This is the base class for all exceptions.
void operator=(const IpoptException &)
Overloaded Equals Operator.
int Index
Type of all indices of vectors, matrices etc.
Definition at line 134 of file IpException.hpp.