|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--javax.servlet.ServletException | +--javax.servlet.UnavailableException
This is a special kind of exception telling the server that this particular servlet is currently not available. It has two kinds of unavailability:
Constructor Summary | |
---|---|
UnavailableException(int seconds,
Servlet servlet,
java.lang.String message)
Constructor for a temporary unavailable exception |
|
UnavailableException(Servlet servlet,
java.lang.String message)
Constructor for a permanent unavailable exception |
Method Summary | |
---|---|
Servlet |
getServlet()
Gets the servlet that is unavailable |
int |
getUnavailableSeconds()
Gets the number of seconds the servlet is unavailable |
boolean |
isPermanent()
Check whether the servlet is permanently unavailable |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UnavailableException(Servlet servlet, java.lang.String message)
public UnavailableException(int seconds, Servlet servlet, java.lang.String message)
Method Detail |
public boolean isPermanent()
public Servlet getServlet()
public int getUnavailableSeconds()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |