| Author |
IllegalStateException close browser
|
peter paul prog
Greenhorn
Joined: Jun 19, 2007
Posts: 2
|
|
hi, Is there a way for me to know that the cause of throwing this exception is ONLY when the browser is closed? i work on an application that sends email error notifications if it throws an exception. But if it is IllegalStateException and the cause is when the browser is closed, i don't want the app to send the email notification. thanks!
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56204
|
|
|
"boogy", please check your private messages.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
"zorro francisco", Please check your private messages.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
This FAQ entry covers the most common causes of IllegalStateExceptions in Java web apps. Closing the browser before a response has finished usually causes a socket exception not an IllegalStateException. Check the FAQ and make sure you're not doing any of the things listed there.
|
 |
 |
|
|
subject: IllegalStateException close browser
|
|
|