diff options
Diffstat (limited to 'libjava/java/net/NetworkInterface.java')
| -rw-r--r-- | libjava/java/net/NetworkInterface.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libjava/java/net/NetworkInterface.java b/libjava/java/net/NetworkInterface.java index d42e69d5052..f0113d03808 100644 --- a/libjava/java/net/NetworkInterface.java +++ b/libjava/java/net/NetworkInterface.java @@ -118,6 +118,9 @@ public final class NetworkInterface * Returns an network interface by name * * @param name The name of the interface to return + * + * @exception SocketException If an error occurs + * @exception NullPointerException If the specified name is null */ public static NetworkInterface getByName (String name) throws SocketException @@ -141,6 +144,9 @@ public final class NetworkInterface * Return a network interface by its address * * @param addr The address of the interface to return + * + * @exception SocketException If an error occurs + * @exception NullPointerException If the specified addess is null */ public static NetworkInterface getByInetAddress (InetAddress addr) throws SocketException @@ -167,6 +173,8 @@ public final class NetworkInterface /** * Return an Enumeration of all available network interfaces + * + * @exception SocketException If an error occurs */ public static Enumeration getNetworkInterfaces () throws SocketException |

