SoDaFormat-1.0.0-main:f160581  1.0.0
SoDa::Format::BadFormat Class Reference

Detailed Description

Exception to announce that there was something wrong with the format string, or that too many values were supplied.

Inherits from std::runtime_error so the catcher may use "what" to find out what went wrong.

Definition at line 429 of file Format.hxx.

#include <Format.hxx>

Inheritance diagram for SoDa::Format::BadFormat:

Public Member Functions

 BadFormat (const std::string &problem, const Format &fmt)
 build a BadFormat exception object. More...
 

Constructor & Destructor Documentation

◆ BadFormat()

SoDa::Format::BadFormat::BadFormat ( const std::string &  problem,
const Format fmt 
)
inline

build a BadFormat exception object.

Parameters
problemWhat went wrong
fmta reference to the format so we can print the original format spec.

Definition at line 438 of file Format.hxx.


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