|
|
Choosing A Webhost: |
CVS update of carob/include (StringCodecs.hpp): msg#00082db.carob.cvs
Date: Thursday, March 16, 2006 @ 15:35:18 Author: marc Path: /cvsroot/carob/carob/include Modified: StringCodecs.hpp (1.8 -> 1.9) Added SQLState 22018 on conversion exceptions. ------------------+ StringCodecs.hpp | 5 ++++- 1 files changed, 4 insertions(+), 1 deletion(-) Index: carob/include/StringCodecs.hpp diff -u carob/include/StringCodecs.hpp:1.8 carob/include/StringCodecs.hpp:1.9 --- carob/include/StringCodecs.hpp:1.8 Mon Mar 13 19:15:49 2006 +++ carob/include/StringCodecs.hpp Thu Mar 16 15:35:18 2006 @@ -38,7 +38,10 @@ * Constructs a CodecException with the given message * @param s error message of the exception */ - CodecException(std::wstring s) : DriverException(s) {}; + CodecException(std::wstring s) : DriverException(s, L"22018") {}; + // In theory 22018 is only for SQL data conversions, and there is + // a slight chance that we were doing something else. Even in this + // case it is still more informative than nothing. };
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS update of carob/src (StringCodecs.cpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
|---|---|
| Next by Date: | CVS update of carob/include (CarobException.hpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Previous by Thread: | CVS update of carob/src (StringCodecs.cpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Next by Thread: | CVS update of carob/include (StringCodecs.hpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|