XLL+ Class Library (6.3)

CXlApiException::CXlApiException

Constructs a CXlApiException object

CXlApiException( );
CXlApiException(
   const std::string& message
);
CXlApiException(
   const std::wstring& wmessage
);
CXlApiException(
   const char* apiCall,
   int rc
);
CXlApiException(
   const wchar_t* apiCallW,
   int rc
);

Parameters

message

An ASCII string containing a description of the error condition.

wmessage

A Unicode string containing a description of the error condition.

apiCall

The name of the API call that failed.

rc

The result code returned by the API call that failed.

apiCallW

The name of the API call that failed.

Remarks

If no argument is provided to the constructor, then a default localized message will be used.

Requirements

Header: xlpexcept.h

See Also

CXlApiException Class | CXlApiException Methods