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

Thrown when model creation fails. More...

#include <CustomExceptions.hpp>

Inheritance diagram for cda_rail::exceptions::ModelCreationException:
cda_rail::exceptions::CustomException

Public Member Functions

 ModelCreationException ()
 Constructs with the default model creation error message.
 ModelCreationException (std::string_view const message)
 Constructs with a custom model creation 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 model creation fails.

Constructor & Destructor Documentation

◆ ModelCreationException() [1/2]

cda_rail::exceptions::ModelCreationException::ModelCreationException ( )
inline

Constructs with the default model creation error message.

◆ ModelCreationException() [2/2]

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

Constructs with a custom model creation error message.

Parameters
messageCustom error message.

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