Hi David Bertoni,

         I used default Handler class to receive exception,
                parser->setErrorHandler(&handler);
        I read from API doc that exceptions generated by parser(XMLReader) 
will be collected by defaultHandler,is that true? if it does so, can I
catch my own exceptions yet? Sorry, in fact,my confusion is don't know the 
details
about how xerces handler exception streams,could you explain it explicitly?

thanks a lot!

Best regards!
                         
Roger

======= 2006-06-30 14:00:00 your wrote:=======

>
>Roger wrote:
>> Hi,
>>    I followed Alberto's advisory, and add the following  lines by the end of 
>> file util/MsgLoaders/MsgFile/CrtXMLMsgs before ENDPGM, but the throw 
>> exception 
>> is still mis-mapped, My exception-throw code is :
>> ThrowXMLwithMemMgr(IOException,XMLExcepts::Reader_ZeroMemory, 
>> fMemoryManager);
>> the captured exception is :
>> Fatal Error at file prodInfo, line 16, char 11
>>   Message: An exception occurred! Type:IOException, Message:The index or 
>> size is negative, or greater than the allowed value
>> But that definitely is not the one I defined MSG('The passed memory has been 
>> eaten up!').

                        

          2006-06-30

Reply via email to