Bonmin 1.8.9
Loading...
Searching...
No Matches
Bonmin::OsiTMINLPInterface::SimpleError Class Reference

Error class to throw exceptions from OsiTMINLPInterface. More...

#include <BonOsiTMINLPInterface.hpp>

+ Inheritance diagram for Bonmin::OsiTMINLPInterface::SimpleError:
+ Collaboration diagram for Bonmin::OsiTMINLPInterface::SimpleError:

Public Member Functions

 SimpleError (std::string message, std::string methodName, std::string f=std::string(), int l=-1)
 Alternate constructor using strings.
 
- Public Member Functions inherited from CoinError
const std::string & message () const
 
const std::string & methodName () const
 
const std::string & className () const
 
const std::string & fileName () const
 
int lineNumber () const
 
void print (bool doPrint=true) const
 
 CoinError (std::string message__, std::string methodName__, std::string className__, std::string fileName_=std::string(), int line=-1)
 
 CoinError (const CoinError &source)
 
CoinErroroperator= (const CoinError &rhs)
 
virtual ~CoinError ()
 
const std::string & message () const
 
const std::string & methodName () const
 
const std::string & className () const
 
const std::string & fileName () const
 
int lineNumber () const
 
void print (bool doPrint=true) const
 
 CoinError (std::string message__, std::string methodName__, std::string className__, std::string fileName_=std::string(), int line=-1)
 
 CoinError (const CoinError &source)
 
CoinErroroperator= (const CoinError &rhs)
 
virtual ~CoinError ()
 

Additional Inherited Members

- Static Public Attributes inherited from CoinError
static bool printErrors_
 

Detailed Description

Error class to throw exceptions from OsiTMINLPInterface.

Inherited from CoinError, we just want to have a different class to be able to catch errors thrown by OsiTMINLPInterface.

Definition at line 60 of file BonOsiTMINLPInterface.hpp.

Constructor & Destructor Documentation

◆ SimpleError()

Bonmin::OsiTMINLPInterface::SimpleError::SimpleError ( std::string message,
std::string methodName,
std::string f = std::string(),
int l = -1 )
inline

Alternate constructor using strings.

Definition at line 67 of file BonOsiTMINLPInterface.hpp.


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