| java.lang.Object java.lang.Throwable java.lang.Exception javax.servlet.ServletException javax.servlet.UnavailableException
UnavailableException | public class UnavailableException extends ServletException (Code) | | Thrown if a servlet is permanently or temporarily unavailable
author: Rick Knowles version: $Id: UnavailableException.java,v 1.2 2006/02/28 07:32:47 rickknowles Exp $ |
Method Summary | |
public Servlet | getServlet() | public int | getUnavailableSeconds() Returns the number of seconds the servlet expects to be temporarily
unavailable. | public boolean | isPermanent() Returns a boolean indicating whether the servlet is permanently
unavailable. |
UnavailableException | public UnavailableException(int seconds, Servlet servlet, String msg)(Code) | | |
UnavailableException | public UnavailableException(String msg)(Code) | | Constructs a new exception with a descriptive message indicating that the
servlet is permanently unavailable.
|
UnavailableException | public UnavailableException(String msg, int seconds)(Code) | | Constructs a new exception with a descriptive message indicating that the
servlet is temporarily unavailable and giving an estimate of how long it
will be unavailable.
|
getUnavailableSeconds | public int getUnavailableSeconds()(Code) | | Returns the number of seconds the servlet expects to be temporarily
unavailable.
|
isPermanent | public boolean isPermanent()(Code) | | Returns a boolean indicating whether the servlet is permanently
unavailable.
|
|
|