Changeset 1476 for branches/GNU/src/gcc/libjava/java
- Timestamp:
- Sep 7, 2004, 4:49:39 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc/libjava/java/net/NetworkInterface.java
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1475 r1476 116 116 117 117 /** 118 * Returns an network interface by name 119 * 120 * @param name The name of the interface to return 121 * 122 * @exception SocketException If an error occurs 123 * @exception NullPointerException If the specified name is null 118 * Returns an network interface by name 119 * 120 * @param name The name of the interface to return 121 * 122 * @return a <code>NetworkInterface</code> object representing the interface, 123 * or null if there is no interface with that name. 124 * 125 * @exception SocketException If an error occurs 126 * @exception NullPointerException If the specified name is null 124 127 */ 125 128 public static NetworkInterface getByName (String name) … … 138 141 } 139 142 140 throw new SocketException ("no network interface with this name exists"); 143 // No interface with the given name found. 144 return null; 141 145 } 142 146 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.