Posted: Wed Aug 16, 2006 12:02 pm Post subject: How big can the ExceptionList structure be ?
Chevalier
Joined: 23 May 2005 Posts: 410
I need to insert the entire ExceptionList structure into a database field. But I wonder how big it can be ? I allocated 2 KB but once it exceeded the size, and I am not sure what size to allocate for the database field.
I am using a loop ( sample ESQL provided in manuals) to drill down to the most nested error code and text, and I am inserting them into the database as 2 separate fields. But just want to dump the entire exceptionlist as a different field in the same table.
Don't ask me why I am doing it this way when I already have the most nested error code and text. I just thought it might help !
If people more experienced with the product feel what I am doing is redundant I'll probably do away with it.
The error text that I get by looping thru the entire nested Exceptionist structure isn't the same as the text shown in BIPv6.properties file in the installation path for the same error code. So, I thought it might help if I dump the whole ExceptionList structure into database.
we here insert only the last exception in the DB/log. However for database exceptions the higher levels usually makes it more helpful to debug as it shows the actual query string from ESQL that caused the DB error.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum