Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Namespaces | Macros
IpException.hpp File Reference
`#include "IpUtils.hpp"`
`#include "IpJournalist.hpp"`

Go to the source code of this file.

## Classes
class | Ipopt::IpoptException
| This is the base class for all exceptions. More...

## Namespaces
| Ipopt

## Macros
#define | THROW_EXCEPTION(__except_type, __msg) throw __except_type( (__msg), (__FILE__), (__LINE__) );
#define | ASSERT_EXCEPTION(__condition, __except_type, __msg)
#define | DECLARE_STD_EXCEPTION(__except_type)

## Macro Definition Documentation

#define THROW_EXCEPTION | ( |  | __except_type,
|  |  | __msg
| ) |  | throw __except_type( (__msg), (__FILE__), (__LINE__) );

Definition at line 123 of file IpException.hpp.

#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:
class __except_type : public Ipopt::IpoptException \
{ \
public: \
__except_type(std::string msg, std::string fname, Ipopt::Index line) \
: Ipopt::IpoptException(msg,fname,line, #__except_type) {} \
__except_type(const __except_type& copy) \
: Ipopt::IpoptException(copy) {} \
private: \
__except_type(); \
void operator=(const __except_type&); \
}
Ipopt::IpoptException
This is the base class for all exceptions.
Definition: IpException.hpp:57
Ipopt::IpoptException::operator=
void operator=(const IpoptException &)
Overloaded Equals Operator.
Ipopt::Index
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:19

Definition at line 134 of file IpException.hpp.