All Packages Class Hierarchy This Package Previous Next Index
Class Acme.Serve.servlet.UnavailableException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----Acme.Serve.servlet.ServletException
|
+----Acme.Serve.servlet.UnavailableException
- public class UnavailableException
- extends ServletException
An exception for Servlets.
Fetch the software.
Fetch the entire Acme package.
-
UnavailableException(int, Servlet, String)
- Constructs an UnavailableException with the specified detail message,
indicating that the servlet is temporarily unavailable and giving an
estimate of how long it will be unavailable.
-
UnavailableException(Servlet, String)
- Constructs an UnavailableException with the specified detail message,
indicating the servlet is permanently unavailable.
-
getServlet()
- Returns the servlet that is reporting its unavailability.
-
getUnavailableSeconds()
- Returns the amount of time the servlet expects to be temporarily
unavailable.
-
isPermanent()
- Returns true if the servlet is "permanently" unavailable, indicating
that the service administrator must take some corrective action to
make the servlet be usable.
UnavailableException
public UnavailableException(Servlet servlet,
String msg)
- Constructs an UnavailableException with the specified detail message,
indicating the servlet is permanently unavailable.
UnavailableException
public UnavailableException(int seconds,
Servlet servlet,
String msg)
- Constructs an UnavailableException with the specified detail message,
indicating that the servlet is temporarily unavailable and giving an
estimate of how long it will be unavailable. In some cases, no
estimate can be made; this is indicated by a non-positive time.
isPermanent
public boolean isPermanent()
- Returns true if the servlet is "permanently" unavailable, indicating
that the service administrator must take some corrective action to
make the servlet be usable.
getServlet
public Servlet getServlet()
- Returns the servlet that is reporting its unavailability.
getUnavailableSeconds
public int getUnavailableSeconds()
- Returns the amount of time the servlet expects to be temporarily
unavailable.
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs