Class UnavailableException

All Implemented Interfaces:
Serializable

public class UnavailableException extends ServletException
The UnavailableException API.
Author:
Manfred Riem ([email protected])
See Also:
  • Constructor Details

    • UnavailableException

      public UnavailableException(String message)
      Constructor.
      Parameters:
      message - the message.
    • UnavailableException

      public UnavailableException(String message, int unavailableSeconds)
      Constructor.
      Parameters:
      message - the message.
      unavailableSeconds - the unavailable seconds.
    • UnavailableException

      @Deprecated public UnavailableException(Servlet servlet, String message)
      Deprecated.
      Constructor.
      Parameters:
      servlet - the servlet.
      message - the message.
    • UnavailableException

      @Deprecated public UnavailableException(int unavailableSeconds, Servlet servlet, String message)
      Deprecated.
      Constructor.
      Parameters:
      unavailableSeconds - the unavailable seconds.
      servlet - the servlet.
      message - the message.
  • Method Details

    • getServlet

      @Deprecated public Servlet getServlet()
      Deprecated.
      Returns the servlet.
      Returns:
      the servlet
    • getUnavailableSeconds

      public int getUnavailableSeconds()
      Get the unavailableSeconds.
      Returns:
      the unavailable seconds.
    • isPermanent

      public boolean isPermanent()
      Is unavailability permanent.
      Returns:
      true if it is, false otherwise.