@Test void testConstructor() { UnavailableException exception = new UnavailableException("Unavailable", 100); assertEquals(100, exception.getUnavailableSeconds()); }
public int getUnavailableSeconds() { return unavailableSeconds; }
UnavailableException extends ServletException { public int getUnavailableSeconds() { return unavailableSeconds; } }
UnavailableException extends ServletException { public int getUnavailableSeconds() { return unavailableSeconds; } UnavailableException(String message);  UnavailableException(String message, int unavailableSeconds); @Deprecated  UnavailableException(Servlet servlet, String message); @Deprecated  UnavailableException(int unavailableSeconds, Servlet servlet, String message); }
UnavailableException extends ServletException { public int getUnavailableSeconds() { return unavailableSeconds; } UnavailableException(String message);  UnavailableException(String message, int unavailableSeconds); @Deprecated  UnavailableException(Servlet servlet, String message); @Deprecated  UnavailableException(int unavailableSeconds, Servlet servlet, String message); @Deprecated Servlet getServlet(); int getUnavailableSeconds(); boolean isPermanent(); }
UnavailableException extends ServletException { public int getUnavailableSeconds() { return unavailableSeconds; } UnavailableException(String message);  UnavailableException(String message, int unavailableSeconds); @Deprecated  UnavailableException(Servlet servlet, String message); @Deprecated  UnavailableException(int unavailableSeconds, Servlet servlet, String message); @Deprecated Servlet getServlet(); int getUnavailableSeconds(); boolean isPermanent();  }