Package javax.servlet

Class UnavailableException

    • Constructor Detail

      • 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 Detail

      • getServlet

        @Deprecated
        public Servlet getServlet()
        Deprecated.
        Get 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.