https://issues.apache.org/bugzilla/show_bug.cgi?id=50353
--- Comment #5 from David <david...@msn.com> 2011-08-15 18:32:35 UTC --- It now throws IllegalStateException which is an unchecked exception. I don't think i'm splitting hairs here, that I strongly believe it should be throwing a checked exception. Maybe there's a deficiency with the API, but in the application code, there's no way that I know to handle this case properly without handling the unchecked exception (an unchecked exception is supposed to be a bug e.g. nullpointerException). The asyncContext error/timeout handler cannot be atomically synchronized with the causal event so in a Thread race between error/timout and writing a response it is possible to get this unchecked exsception and there is no proper way to write the code. So really it has to ba a checked exception, and the API altered if necessary. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org