Exception

Declared in lemon/error.h, in the group Exceptions; the same class on the Doxygen site.

class Exception : public exception

Generic exception class.

Base class for exceptions used in LEMON.

Subclassed by ArgParserException, CplexEnv::LicenseError, FormatError, IoError, LpBase::UnsupportedFormatError, RadixHeap< IM >::PriorityUnderflowError

Public Functions

inline Exception() noexcept

Constructor.

virtual ~Exception() = default

Virtual destructor.

Exception( const Exception & ) = default

Copy constructor.

Exception & operator=( const Exception & ) = default

Copy assignment.

inline virtual const char * what() const noexcept

A short description of the exception.