Struct SArgumentParseException#
Defined in File cmdlnparser.h
Inheritance Relationships#
Base Type#
public std::exception
Struct Documentation#
-
struct SArgumentParseException : public std::exception#
Parse exception structure based on std::exception.
Public Functions
-
inline SArgumentParseException(const std::string &rssDescription)#
Constructor.
- Parameters:
rssDescription – [in] Reference to the description explaining what caused this exception.
-
inline virtual const char *what() const noexcept#
Return a textual description.
- Returns:
Returns the composed text.
-
inline void AddIndex(size_t nIndex)#
Add the argument index to the exception.
- Parameters:
nIndex – [in] The argument index.
-
inline void AddArgument(const std::string &rssArg)#
Add the argument string to the exception.
- Parameters:
rssArg – [in] The argument string.
-
inline SArgumentParseException(const std::string &rssDescription)#