Previous Topic: CaException( const CaException &CRight)

Next Topic: void SetReturnCode(HINT32 iReturnCode)


CaException(LPCTSTR szKey, ...)

Constructs an exception object with the message indexed by the specified key.

Note: If the message key is invalid then the object is created with a message-key error message.

Owning Class

CaException

Arguments

LPCTSTR szKey-the message key

…-up to four optional positional arguments required by the message indexed by szKey. If optional arguments are used then they must be finalized with a NULL argument. Messages that require arguments may require either integer or string arguments.

Return Value

None

Example

CaException ex(HSDKKEYVALUE, 1, “arg2”, “arg3”, 4, NULL);

More information: