|
|
| version 1.34, 2001/10/19 12:43:30 | version 1.35, 2001/10/19 14:15:23 |
|---|---|
| Line 63 void Pool::update_transcoder() { | Line 63 void Pool::update_transcoder() { |
| XMLTransService::Codes resValue; | XMLTransService::Codes resValue; |
| transcoder=XMLPlatformUtils::fgTransService->makeNewTranscoderFor(charset->cstr(), resValue, 60); | transcoder=XMLPlatformUtils::fgTransService->makeNewTranscoderFor(charset->cstr(), resValue, 60); |
| if(!transcoder) | if(!transcoder) |
| THROW(0, 0, | throw Exception(0, 0, |
| charset, | charset, |
| "unsupported encoding"); | "unsupported encoding"); |
| } | } |
| Line 87 const char *Pool::transcode_cstr(const X | Line 87 const char *Pool::transcode_cstr(const X |
| error=false; | error=false; |
| } | } |
| } catch(XMLException& e) { | } catch(XMLException& e) { |
| exception()._throw(*this, 0, e); | Exception::convert(*this, 0, e); |
| } | } |
| return (const char *)dest; | return (const char *)dest; |
| } | } |
| Line 116 XalanDOMString& Pool::transcode_buf(cons | Line 116 XalanDOMString& Pool::transcode_buf(cons |
| result=new XalanDOMString(dest, dest_size); | result=new XalanDOMString(dest, dest_size); |
| } | } |
| } catch(XMLException& e) { | } catch(XMLException& e) { |
| exception()._throw(*this, 0, e); | Exception::convert(*this, 0, e); |
| } | } |
| return *result; | return *result; |