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!').
I am confused about the category definitions in Xerces,could anybody tell me
how
to make a self-defined Exceptions, I just want to throw an exception to tell my
program to handle something,I don't care about its type.
======= 2006-06-30 10:04:24 your wrote:=======
it looks to me that you forgot to change CrtXMLMsgs, by adding
CCSID(*JOB)
RMVMSGD MSGID(XMLBEF4) MSGF(&LIBNAME/&FILENAME)
ADDMSGD MSGID(XMLBEF4) MSGF(&LIBNAME/&FILENAME)
MSG('The passed memory has been eaten up!') SEV(20) DMPLST(*NONE)
LVL('01/14/00' 61) CCSID(*JOB)
before the ENDPGM instruction.
If this doesn't work, you should try using the mailing list, as some
AS/400 experts are available there.
Hope this helps,
Alberto
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>.
= = = = = = = = = = = = = = = = = = = =
Best regards!
Roger
[EMAIL PROTECTED]
2006-06-30