Scippy

SoPlex

Sequential object-oriented simPlex

SPxException Class Reference

Exception base class.This class implements a base class for our SoPlex exceptions We provide a what() function which returns the exception message. More...

#include <exceptions.h>

Inheritance diagram for SPxException:

Public Member Functions

Construction / destruction
 SPxException (const std::string &m="")
 constructor
 
virtual ~SPxException ()
 destructor
 
Access / modification
virtual const std::string what () const
 returns exception message
 

Private Attributes

Private data
std::string msg
 Exception message.
 

Detailed Description

Exception base class.

This class implements a base class for our SoPlex exceptions We provide a what() function which returns the exception message.

Definition at line 32 of file exceptions.h.

Constructor & Destructor Documentation

SPxException ( const std::string &  m = "")

constructor

The constructor receives an optional string as an exception message.

Definition at line 48 of file exceptions.h.

virtual ~SPxException ( )
virtual

destructor

Definition at line 50 of file exceptions.h.

Member Function Documentation

virtual const std::string what ( ) const
virtual

Member Data Documentation

std::string msg
private

Exception message.

Definition at line 39 of file exceptions.h.

Referenced by SPxException::what().