|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.servlet.ServletException
javax.servlet.UnavailableException
public class 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)
Deprecated. |
|
UnavailableException(Servlet servlet,
java.lang.String message)
Deprecated. |
|
UnavailableException(java.lang.String message)
Constructor for a permanent unavailable exception |
|
UnavailableException(java.lang.String message,
int seconds)
Constructor for a temporary unavailable exception |
Method Summary | |
---|---|
Servlet |
getServlet()
Deprecated. |
int |
getUnavailableSeconds()
Gets the number of seconds the servlet is unavailable |
boolean |
isPermanent()
Check whether the servlet is permanently unavailable |
Methods inherited from class javax.servlet.ServletException |
---|
getRootCause |
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(java.lang.String message)
public UnavailableException(java.lang.String message, int seconds)
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 |