Hi Simon, After disabling most of the exceptions, now i face a problem in the itest validations as we generally check for the last reported problem to verify the results. Now due to disabled exception the processing continues furthur and more problems are reported even after the one we are expecting.
Hence the getLastLoggedProblem method in the monitor does not help us anymore. I have now introduced a HashMap in the monitor to cache all the problem reported, so that we could analyze them and see if the expected errors are reported. Here is the piece of code that is being added in the monitor now. // Cache all the problem reported to monitor for furthur analysis private Map<String, Problem> problemCache = new HashMap<String, Problem>(); public boolean isMessageLogged(String messageId) { if (problemCache.containsKey(messageId)) return true; else return false; } Like to know your thoughts on it. Thanks. On 6/6/08, Ramkumar R <[EMAIL PROTECTED]> wrote: > > On 6/5/08, Simon Laws <[EMAIL PROTECTED]> wrote: >> >> > >> > Here the processor would never throw ContributionReadException, when the >> > exceptions are blocked as most of the ContributionReadException are of >> > type1, 2 or 3. >> >> >> Do you mean type 2, 3 & 4 here. I still expect us to throw type 1 >> exceptions. >> > Hi Simon, > You are right, i meant it to be type 2, 3 & 4 exceptions here. Sorry for > the typo error. > > -- > Thanks & Regards, > Ramkumar Ramalingam > -- Thanks & Regards, Ramkumar Ramalingam