summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/StringUtil.h
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2008-01-23 09:15:28 -0500
committerBernard Normier <bernard@zeroc.com>2008-01-23 09:15:28 -0500
commit2cdd39227e7efda5fc8b3a04a9c2b0d678943a17 (patch)
treeac7d3ef0ae27a80cc2bc1f4a2c7f42c52d35e979 /cpp/include/IceUtil/StringUtil.h
parentNew VC60 third-party build + VC60 build fixes (diff)
parent- Added IceUtil::SyscallException and cleaned up few IceUtil exceptions (diff)
downloadice-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.h9
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