A constructor of the exception object with a description defined by Printf format specifications and by a list of corresponding additional parameters. Also, <CODE> and <DESCRIPTION> tags are replaced by a hexadecimal representation of the error code and by a description returned by the ChsvErrorDescriptionW function.
- Template Parameters
-
| char_t | is a type of the description to be set which is either char or wchar_t. |
| DescriptionFormatParams | Deduced types of additional arguments passed to the function to format the message. |
See ChsvCodeExceptionTempl for the details.
- Parameters
-
| [in] | pszUserDescription | is a format string. |
| formatting_params | is a variable set of additional arguments. |