dlvhex  2.5.0
FatalError Class Reference

Severe Error, supposed to be followed by program termination. More...

#include <include/dlvhex2/Error.h>

Inheritance diagram for FatalError:
Collaboration diagram for FatalError:

Public Member Functions

 FatalError (const std::string &msg)
 Constructs a formatted error message, indicating that this error is fatal.

Detailed Description

Severe Error, supposed to be followed by program termination.

Definition at line 138 of file Error.h.


Constructor & Destructor Documentation

FatalError::FatalError ( const std::string &  msg) [explicit]

Constructs a formatted error message, indicating that this error is fatal.

A FatalError has no additional context, so we don't need a getErrorMsg() function for building a special string after construction.

Parameters:
msgError message.

Definition at line 96 of file Error.cpp.


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