java.lang.Object
java.lang.Throwable
java.lang.Exception
jakarta.servlet.ServletException
jakarta.servlet.UnavailableException
- All Implemented Interfaces:
Serializable
The UnavailableException API.
- Author:
- Manfred Riem ([email protected])
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorDescriptionUnavailableException(int unavailableSeconds, Servlet servlet, String message)
Deprecated.UnavailableException(Servlet servlet, String message)
Deprecated.UnavailableException(String message)
Constructor.UnavailableException(String message, int unavailableSeconds)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.int
Get the unavailableSeconds.boolean
Is unavailability permanent.Methods inherited from class jakarta.servlet.ServletException
getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnavailableException
Constructor.- Parameters:
message
- the message.
-
UnavailableException
Constructor.- Parameters:
message
- the message.unavailableSeconds
- the unavailable seconds.
-
UnavailableException
Deprecated.Constructor.- Parameters:
servlet
- the servlet.message
- the message.
-
UnavailableException
Deprecated.Constructor.- Parameters:
unavailableSeconds
- the unavailable seconds.servlet
- the servlet.message
- the message.
-
-
Method Details
-
getServlet
Deprecated.Returns the servlet.- Returns:
- the servlet
-
isPermanent
public boolean isPermanent()Is unavailability permanent.- Returns:
- true if it is, false otherwise.
-