|
||||||||||
| 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
Thrown if a servlet is permanently or temporarily unavailable
| Constructor Summary | |
|---|---|
UnavailableException(int seconds,
Servlet servlet,
java.lang.String msg)
Deprecated. As of Java Servlet API 2.2, use UnavailableException(String, int) instead. |
|
UnavailableException(Servlet servlet,
java.lang.String msg)
Deprecated. As of Java Servlet API 2.2, use UnavailableException(String) instead. |
|
UnavailableException(java.lang.String msg)
Constructs a new exception with a descriptive message indicating that the servlet is permanently unavailable. |
|
UnavailableException(java.lang.String msg,
int seconds)
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. |
|
| Method Summary | |
|---|---|
Servlet |
getServlet()
Deprecated. As of Java Servlet API 2.2, with no replacement. Returns the servlet that is reporting its unavailability. |
int |
getUnavailableSeconds()
Returns the number of seconds the servlet expects to be temporarily unavailable. |
boolean |
isPermanent()
Returns a boolean indicating 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(int seconds,
Servlet servlet,
java.lang.String msg)
public UnavailableException(Servlet servlet,
java.lang.String msg)
public UnavailableException(java.lang.String msg)
public UnavailableException(java.lang.String msg,
int seconds)
| Method Detail |
|---|
public Servlet getServlet()
public int getUnavailableSeconds()
public boolean isPermanent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||