Scippy

SoPlex

Sequential object-oriented simPlex

SPxInternalCodeException Class Reference

Exception class for things that should NEVER happen. More...

#include <exceptions.h>

Public Member Functions

Construction / destruction
 SPxInternalCodeException (const std::string &m="")
 constructor More...
 
- Public Member Functions inherited from SPxException
 SPxException (const std::string &m="")
 constructor More...
 
 SPxException (const SPxException &)=default
 
 SPxException (SPxException &&)=default
 
virtual ~SPxException ()=default
 destructor More...
 
virtual const std::string & what () const
 returns exception message More...
 

Detailed Description

Exception class for things that should NEVER happen.

This class is derived from the SoPlex exception base class. It does not provide any new functionality. Most often it is used to replace assert(false) terms in earlier code.

Definition at line 120 of file exceptions.h.

Constructor & Destructor Documentation

◆ SPxInternalCodeException()

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

constructor

The constructor receives an optional string as an exception message.

Definition at line 129 of file exceptions.h.