src/share/classes/javax/net/ssl/SSLSessionContext.java

Print this page

        

*** 88,98 **** * the timeout limit is changed for this <code>SSLSessionContext</code>. * * @param seconds the new session timeout limit in seconds; zero means * there is no limit. * ! * @exception IllegalArgumentException if the timeout specified is < 0. * @see #getSessionTimeout */ public void setSessionTimeout(int seconds) throws IllegalArgumentException; --- 88,98 ---- * the timeout limit is changed for this <code>SSLSessionContext</code>. * * @param seconds the new session timeout limit in seconds; zero means * there is no limit. * ! * @exception IllegalArgumentException if the timeout specified is {@code < 0}. * @see #getSessionTimeout */ public void setSessionTimeout(int seconds) throws IllegalArgumentException;
*** 120,130 **** * <code>SSLSession</code> objects grouped under this * <code>SSLSessionContext</code>. * * @param size the new session cache size limit; zero means there is no * limit. ! * @exception IllegalArgumentException if the specified size is < 0. * @see #getSessionCacheSize */ public void setSessionCacheSize(int size) throws IllegalArgumentException; --- 120,130 ---- * <code>SSLSession</code> objects grouped under this * <code>SSLSessionContext</code>. * * @param size the new session cache size limit; zero means there is no * limit. ! * @exception IllegalArgumentException if the specified size is {@code < 0}. * @see #getSessionCacheSize */ public void setSessionCacheSize(int size) throws IllegalArgumentException;