public class UnavailableException extends ServletException
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
Servlet |
getServlet()
Deprecated.
no replacement
|
int |
getUnavailableSeconds()
Gets the number of seconds the servlet is unavailable
|
boolean |
isPermanent()
Check whether the servlet is permanently unavailable
|
getRootCause
public UnavailableException(java.lang.String message)
public UnavailableException(java.lang.String message, int seconds)
public UnavailableException(Servlet servlet, java.lang.String message)
UnavailableException(String)
.public UnavailableException(int seconds, Servlet servlet, java.lang.String message)
UnavailableException(String)
.public boolean isPermanent()
public Servlet getServlet()
public int getUnavailableSeconds()