MTCT
Design Automation and Optimization for ETCS Railway Networks
Loading...
Searching...
No Matches
cda_rail::exceptions::ConsistencyException Class Reference

Thrown when a consistency check fails. More...

#include <CustomExceptions.hpp>

Inheritance diagram for cda_rail::exceptions::ConsistencyException:
cda_rail::exceptions::CustomException

Public Member Functions

 ConsistencyException ()
 Constructs with the default consistency-check error message.
 ConsistencyException (std::string_view const message)
 Constructs with a custom consistency-check error message.
Public Member Functions inherited from cda_rail::exceptions::CustomException
const char * what () const noexcept override
 Provides the error message stored in this exception.

Additional Inherited Members

Protected Member Functions inherited from cda_rail::exceptions::CustomException
 CustomException (std::string_view const message)
 Constructs the exception with a custom error message.

Detailed Description

Thrown when a consistency check fails.

Constructor & Destructor Documentation

◆ ConsistencyException() [1/2]

cda_rail::exceptions::ConsistencyException::ConsistencyException ( )
inline

Constructs with the default consistency-check error message.

◆ ConsistencyException() [2/2]

cda_rail::exceptions::ConsistencyException::ConsistencyException ( std::string_view const message)
inlineexplicit

Constructs with a custom consistency-check error message.

Parameters
messageCustom error message.

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