File Geodatabase API
|
Provides access to error text and extended error information. More...
Functions | |
EXT_FILEGDB_API fgdbError | GetErrorDescription (fgdbError fgdbError, std::wstring &errorDescription) |
Returns the text error message which corresponds to an error code. More... | |
EXT_FILEGDB_API void | GetErrorRecordCount (int &recordCount) |
Returns the number of error records in the error stack. More... | |
EXT_FILEGDB_API fgdbError | GetErrorRecord (int recordNum, fgdbError &fgdbError, std::wstring &errorDescription) |
Returns an error record. More... | |
EXT_FILEGDB_API void | ClearErrors (void) |
Clears the error stack. More... | |
Provides access to error text and extended error information.
EXT_FILEGDB_API fgdbError FileGDBAPI::ErrorInfo::GetErrorDescription | ( | fgdbError | fgdbError, |
std::wstring & | errorDescription | ||
) |
Returns the text error message which corresponds to an error code.
If there is no description corresponding to the error code, the error description string will be empty and a 1 (S_FALSE) error will be returned.
[in] | fgdbError | The error code to look up. |
[out] | errorDescription | The description of the error. |
EXT_FILEGDB_API void FileGDBAPI::ErrorInfo::GetErrorRecordCount | ( | int & | recordCount | ) |
Returns the number of error records in the error stack.
[out] | recordCount | The number of error records. |
EXT_FILEGDB_API fgdbError FileGDBAPI::ErrorInfo::GetErrorRecord | ( | int | recordNum, |
fgdbError & | fgdbError, | ||
std::wstring & | errorDescription | ||
) |
Returns an error record.
[in] | recordNum | The error record to return. |
[out] | fgdbError | The error code. |
[out] | errorDescription | The description of the error. |
EXT_FILEGDB_API void FileGDBAPI::ErrorInfo::ClearErrors | ( | void | ) |
Clears the error stack.