XLL+ Class Library (6.3)

CXlComException::CXlComException

Constructs a CXlComException object

CXlComException( );
CXlComException(
   const std::string& message
);
CXlComException(
   const std::wstring& wmessage
);
CXlComException(
   const char* apiCall,
   HRESULT hr
);
CXlComException(
   const wchar_t* apiCallW,
   HRESULT hr
);

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.

hr

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

CXlComException Class | CXlComException Methods