Defines an exception that a servlet throws to indicate that it is
permanently or temporarily unavailable.
When a servlet is permanently unavailable, something is wrong with the
servlet, and it cannot handle requests until some action is taken. For
example, the servlet might be configured incorrectly, or its state may
be corrupted. A servlet should log both the error and the corrective
action that is needed.
A servlet is temporarily unavailable if it cannot handle requests
momentarily due to some system-wide problem. For example, a third-tier
server might not be accessible, or there may be insufficient memory or
disk storage to handle requests. A system administrator may need to
take corrective action.
Servlet containers can safely treat both types of unavailabile
exceptions in the same way. However, treating termporary
unavailability effectively makes the servlet container more
robust. Specifically, the servlet container might block requests to
the servlet for a period of time suggested by the servlet, rather than
rejecting them until the servlet container restarts.
Extends <B>Servlet::ServletExceptionB>. See that class for a description
of inherited methods.