< prev index next >
src/java.base/share/classes/java/net/JarURLConnection.java
Print this page
rev 56290 : 8230648: Replace @exception tag with @throws in java.base
Summary: Minor coding style update of javadoc tag in any file in java.base
Reviewed-by: prappo, lancea
*** 215,225 ****
*
* @return the JAR file for this connection. If the connection is
* a connection to an entry of a JAR file, the JAR file object is
* returned
*
! * @exception IOException if an IOException occurs while trying to
* connect to the JAR file for this connection.
*
* @see #connect
*/
public abstract JarFile getJarFile() throws IOException;
--- 215,225 ----
*
* @return the JAR file for this connection. If the connection is
* a connection to an entry of a JAR file, the JAR file object is
* returned
*
! * @throws IOException if an IOException occurs while trying to
* connect to the JAR file for this connection.
*
* @see #connect
*/
public abstract JarFile getJarFile() throws IOException;
*** 228,238 ****
* Returns the Manifest for this connection, or null if none.
*
* @return the manifest object corresponding to the JAR file object
* for this connection.
*
! * @exception IOException if getting the JAR file for this
* connection causes an IOException to be thrown.
*
* @see #getJarFile
*/
public Manifest getManifest() throws IOException {
--- 228,238 ----
* Returns the Manifest for this connection, or null if none.
*
* @return the manifest object corresponding to the JAR file object
* for this connection.
*
! * @throws IOException if getting the JAR file for this
* connection causes an IOException to be thrown.
*
* @see #getJarFile
*/
public Manifest getManifest() throws IOException {
*** 245,255 ****
* connection points to a JAR file and not a JAR file entry.
*
* @return the JAR entry object for this connection, or null if
* the JAR URL for this connection points to a JAR file.
*
! * @exception IOException if getting the JAR file for this
* connection causes an IOException to be thrown.
*
* @see #getJarFile
* @see #getJarEntry
*/
--- 245,255 ----
* connection points to a JAR file and not a JAR file entry.
*
* @return the JAR entry object for this connection, or null if
* the JAR URL for this connection points to a JAR file.
*
! * @throws IOException if getting the JAR file for this
* connection causes an IOException to be thrown.
*
* @see #getJarFile
* @see #getJarEntry
*/
*** 262,272 ****
* for it points to a JAR file entry, null otherwise.
*
* @return the Attributes object for this connection if the URL
* for it points to a JAR file entry, null otherwise.
*
! * @exception IOException if getting the JAR entry causes an
* IOException to be thrown.
*
* @see #getJarEntry
*/
public Attributes getAttributes() throws IOException {
--- 262,272 ----
* for it points to a JAR file entry, null otherwise.
*
* @return the Attributes object for this connection if the URL
* for it points to a JAR file entry, null otherwise.
*
! * @throws IOException if getting the JAR entry causes an
* IOException to be thrown.
*
* @see #getJarEntry
*/
public Attributes getAttributes() throws IOException {
*** 279,289 ****
* connection.
*
* @return the main Attributes for the JAR file for this
* connection.
*
! * @exception IOException if getting the manifest causes an
* IOException to be thrown.
*
* @see #getJarFile
* @see #getManifest
*/
--- 279,289 ----
* connection.
*
* @return the main Attributes for the JAR file for this
* connection.
*
! * @throws IOException if getting the manifest causes an
* IOException to be thrown.
*
* @see #getJarFile
* @see #getManifest
*/
*** 301,311 ****
* reached. Otherwise, this method will return {@code null}
*
* @return the Certificate object for this connection if the URL
* for it points to a JAR file entry, null otherwise.
*
! * @exception IOException if getting the JAR entry causes an
* IOException to be thrown.
*
* @see #getJarEntry
*/
public java.security.cert.Certificate[] getCertificates()
--- 301,311 ----
* reached. Otherwise, this method will return {@code null}
*
* @return the Certificate object for this connection if the URL
* for it points to a JAR file entry, null otherwise.
*
! * @throws IOException if getting the JAR entry causes an
* IOException to be thrown.
*
* @see #getJarEntry
*/
public java.security.cert.Certificate[] getCertificates()
< prev index next >