mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8230648: Replace @exception tag with @throws in java.base
Minor coding style update of javadoc tag in any file in java.base Reviewed-by: prappo, lancea
This commit is contained in:
parent
2fc6c6459d
commit
b15b322cf3
196 changed files with 1959 additions and 1962 deletions
|
@ -341,7 +341,7 @@ public final class NetworkInterface {
|
|||
* {@link #getInetAddresses()} to obtain all IP addresses for this node
|
||||
*
|
||||
* @return an Enumeration of NetworkInterfaces found on this machine
|
||||
* @exception SocketException if an I/O error occurs,
|
||||
* @throws SocketException if an I/O error occurs,
|
||||
* or if the platform does not have at least one configured
|
||||
* network interface.
|
||||
* @see #networkInterfaces()
|
||||
|
@ -371,7 +371,7 @@ public final class NetworkInterface {
|
|||
* }</pre>
|
||||
*
|
||||
* @return a Stream of NetworkInterfaces found on this machine
|
||||
* @exception SocketException if an I/O error occurs,
|
||||
* @throws SocketException if an I/O error occurs,
|
||||
* or if the platform does not have at least one configured
|
||||
* network interface.
|
||||
* @since 9
|
||||
|
@ -450,7 +450,7 @@ public final class NetworkInterface {
|
|||
* Returns whether a network interface is up and running.
|
||||
*
|
||||
* @return {@code true} if the interface is up and running.
|
||||
* @exception SocketException if an I/O error occurs.
|
||||
* @throws SocketException if an I/O error occurs.
|
||||
* @since 1.6
|
||||
*/
|
||||
|
||||
|
@ -462,7 +462,7 @@ public final class NetworkInterface {
|
|||
* Returns whether a network interface is a loopback interface.
|
||||
*
|
||||
* @return {@code true} if the interface is a loopback interface.
|
||||
* @exception SocketException if an I/O error occurs.
|
||||
* @throws SocketException if an I/O error occurs.
|
||||
* @since 1.6
|
||||
*/
|
||||
|
||||
|
@ -477,7 +477,7 @@ public final class NetworkInterface {
|
|||
*
|
||||
* @return {@code true} if the interface is a point to point
|
||||
* interface.
|
||||
* @exception SocketException if an I/O error occurs.
|
||||
* @throws SocketException if an I/O error occurs.
|
||||
* @since 1.6
|
||||
*/
|
||||
|
||||
|
@ -489,7 +489,7 @@ public final class NetworkInterface {
|
|||
* Returns whether a network interface supports multicasting or not.
|
||||
*
|
||||
* @return {@code true} if the interface supports Multicasting.
|
||||
* @exception SocketException if an I/O error occurs.
|
||||
* @throws SocketException if an I/O error occurs.
|
||||
* @since 1.6
|
||||
*/
|
||||
|
||||
|
@ -508,7 +508,7 @@ public final class NetworkInterface {
|
|||
* manager is set and the caller does not have the permission
|
||||
* NetPermission("getNetworkInformation")
|
||||
*
|
||||
* @exception SocketException if an I/O error occurs.
|
||||
* @throws SocketException if an I/O error occurs.
|
||||
* @since 1.6
|
||||
*/
|
||||
public byte[] getHardwareAddress() throws SocketException {
|
||||
|
@ -535,7 +535,7 @@ public final class NetworkInterface {
|
|||
* Returns the Maximum Transmission Unit (MTU) of this interface.
|
||||
*
|
||||
* @return the value of the MTU for that interface.
|
||||
* @exception SocketException if an I/O error occurs.
|
||||
* @throws SocketException if an I/O error occurs.
|
||||
* @since 1.6
|
||||
*/
|
||||
public int getMTU() throws SocketException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue