LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::InternalError Class Reference

An invariant LINE should guarantee was violated, i.e. More...

#include <line/util/error.h>

Inheritance diagram for line::InternalError:
Collaboration diagram for line::InternalError:

Public Member Functions

 InternalError (const std::string &what)
 InternalError (const ErrorKind &kind, const std::string &what)
Public Member Functions inherited from line::Error
 Error (const std::string &what)
const std::string & id () const noexcept
 The full identifier, e.g.
std::string category () const
 unsupported, numerical, input, external, internal, or empty for LINE:Error.
std::string kind () const
 The <kind> part, or empty for LINE:Error.

Additional Inherited Members

Protected Member Functions inherited from line::Error
 Error (const char *category, const std::string &kind, const std::string &what)

Detailed Description

An invariant LINE should guarantee was violated, i.e.

a bug: LINE:internal:<kind>.

Definition at line 131 of file error.h.

Constructor & Destructor Documentation

◆ InternalError() [1/2]

line::InternalError::InternalError ( const std::string & what)
inlineexplicit

Definition at line 133 of file error.h.

References line::Error::Error().

Referenced by line::io::pnml_load(), and line::api::sn_validate_contract().

◆ InternalError() [2/2]

line::InternalError::InternalError ( const ErrorKind & kind,
const std::string & what )
inline

Definition at line 134 of file error.h.

References line::Error::Error(), and line::Error::kind().


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