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

Thrown when importing data fails. More...

#include <CustomExceptions.hpp>

Inheritance diagram for cda_rail::exceptions::ImportException:
cda_rail::exceptions::CustomException

Public Member Functions

 ImportException ()
 Constructs with the default import error message.
 ImportException (std::string_view const importName)
 Creates an ImportException with a formatted message that names the failed import.
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 importing data fails.

Constructor & Destructor Documentation

◆ ImportException() [1/2]

cda_rail::exceptions::ImportException::ImportException ( )
inline

Constructs with the default import error message.

◆ ImportException() [2/2]

cda_rail::exceptions::ImportException::ImportException ( std::string_view const importName)
inlineexplicit

Creates an ImportException with a formatted message that names the failed import.

Parameters
importNameThe name of the entity that could not be imported.

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