Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt in Exception handling

 
sundar sankar
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

With reference to Servlet sepc 2.4 page 26 under heading :SRV.2.3.3.2 Exceptions During Request Handling.
My doubt is how the container determines whether a particular servlet unavailability is permanent or temporary , is their any methods to do it manually ( by servlet developer).Please explain me in this regard.

Thanks in advance
sankar
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the constructors available for UnavailableException, and you'll understand how to set a temporary or permanent unavailable servlet error.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!