/home/coin/SVN-release/CoinAll-1.1.0/Ipopt/src/Common/IpException.hpp File Reference

#include "IpUtils.hpp"
#include "IpJournalist.hpp"

Include dependency graph for IpException.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Ipopt

Classes

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

Defines

#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)


Define Documentation

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

Definition at line 121 of file IpException.hpp.

Referenced by Ipopt::BacktrackingLSAcceptor::ComputeAlphaForY(), and Ipopt::NLP::GetScalingParameters().

#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 124 of file IpException.hpp.

#define DECLARE_STD_EXCEPTION ( __except_type   ) 

Value:

class __except_type : public IpoptException \
    { \
    public: \
      __except_type(std::string msg, std::string fname, Index line) \
 : IpoptException(msg,fname,line, #__except_type) {} \
      __except_type(const __except_type& copy) \
 : IpoptException(copy) {} \
    private: \
       __except_type(); \
       void operator=(const __except_type&); \
    }

Definition at line 132 of file IpException.hpp.


Generated on Sun Nov 14 14:10:49 2010 for Coin-All by  doxygen 1.4.7