chsvlib
chsv helper source code

◆ UnknownException() [3/3]

UnknownException ( const std::basic_string< char_t, traits_t, alloc_t > &  strDescription)
noexcept

Constructs an exception object with a description given by an std::basic_string wide string object. Unlike other constructors, the current one does not perform any kind of formatting and the string specified by the parameter is assigned as a description "as-is".

Template Parameters
char_tis a type of a symbol of an std::basic_string object specifying the description.
traits_tis a type of a character traits class that is used by the std::basic_string template.
alloc_tis a type of an allocator class used by the std::basic_string template.

See ChsvCodeExceptionTempl for the details.

Parameters
strDescriptionis a string represented as an std::basic_string object to specify the textual description of the constructed exception. Unlike the other constructors, the current one copies the string without any formatting. I.e. any tags within the string will be copied directly into the description string without any changes. However if the string is empty, the actual description would be a string returned by the Chusov::ChsvErrorDescriptionW function.