Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt in Exception handling  RSS feed

 
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!