carl  24.04
Computer ARithmetic Library
carl::io::InvalidInputStringException Class Reference

#include <StringParser.h>

Inheritance diagram for carl::io::InvalidInputStringException:
Collaboration diagram for carl::io::InvalidInputStringException:

Public Member Functions

 InvalidInputStringException (const std::string &msg, std::string substring, const std::string &inputString="")
 
void setInputString (const std::string &inputString)
 
virtual cstring what () const noexcept override
 

Private Types

using cstring = const char *
 

Private Attributes

const std::string mSubstring
 Substring where the problem is. More...
 
std::string mErrorString
 Error message. More...
 

Detailed Description

Definition at line 33 of file StringParser.h.

Member Typedef Documentation

◆ cstring

Definition at line 35 of file StringParser.h.

Constructor & Destructor Documentation

◆ InvalidInputStringException()

carl::io::InvalidInputStringException::InvalidInputStringException ( const std::string &  msg,
std::string  substring,
const std::string &  inputString = "" 
)
inline

Definition at line 42 of file StringParser.h.

Here is the call graph for this function:

Member Function Documentation

◆ setInputString()

void carl::io::InvalidInputStringException::setInputString ( const std::string &  inputString)
inline

Definition at line 48 of file StringParser.h.

Here is the caller graph for this function:

◆ what()

virtual cstring carl::io::InvalidInputStringException::what ( ) const
inlineoverridevirtualnoexcept

Definition at line 58 of file StringParser.h.

Field Documentation

◆ mErrorString

std::string carl::io::InvalidInputStringException::mErrorString
private

Error message.

Definition at line 40 of file StringParser.h.

◆ mSubstring

const std::string carl::io::InvalidInputStringException::mSubstring
private

Substring where the problem is.

Definition at line 38 of file StringParser.h.


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