diff options
author | Bernard Normier <bernard@zeroc.com> | 2008-01-23 09:15:28 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2008-01-23 09:15:28 -0500 |
commit | 2cdd39227e7efda5fc8b3a04a9c2b0d678943a17 (patch) | |
tree | ac7d3ef0ae27a80cc2bc1f4a2c7f42c52d35e979 /cpp/include/IceUtil/StringUtil.h | |
parent | New VC60 third-party build + VC60 build fixes (diff) | |
parent | - Added IceUtil::SyscallException and cleaned up few IceUtil exceptions (diff) | |
download | ice-2cdd39227e7efda5fc8b3a04a9c2b0d678943a17.tar.bz2 ice-2cdd39227e7efda5fc8b3a04a9c2b0d678943a17.tar.xz ice-2cdd39227e7efda5fc8b3a04a9c2b0d678943a17.zip |
Merge branch 'master' of ssh://cvs/home/git/ice
Diffstat (limited to 'cpp/include/IceUtil/StringUtil.h')
-rw-r--r-- | cpp/include/IceUtil/StringUtil.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/include/IceUtil/StringUtil.h b/cpp/include/IceUtil/StringUtil.h index 1073bfc2573..d868d1e1fe3 100644 --- a/cpp/include/IceUtil/StringUtil.h +++ b/cpp/include/IceUtil/StringUtil.h @@ -51,6 +51,15 @@ ICE_UTIL_API std::string::size_type checkQuote(const std::string&, std::string:: // ICE_UTIL_API bool match(const std::string&, const std::string&, bool = false); +// +// Get the error message for the last error code or given error code. +// +ICE_UTIL_API std::string lastErrorToString(); +#ifdef _WIN32 +ICE_UTIL_API std::string errorToString(int, LPCVOID = NULL); +#else +ICE_UTIL_API std::string errorToString(int); +#endif } #endif |