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 . |
See ChsvCodeExceptionTempl for the details.
- Parameters
-
| ap | is a list of variable arguments. |
[in] | pszUserDescription | is a format string. |