Constructs an exception object. The bKey argument determines whether szMessage is treated as a message key or as simple message text.
Note: This constructor can only be used for simple text or message keys that do not take optional arguments. If the message key is invalid then the object is created with a message-key error message.
CaException
bool bKey-if true, szMessage is a message key; if false, plain text
LPCTSTR szMessage-either a message key or message text
None
Example
CaException ex(false, “message text”);
More information:
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|