Ignore:
Timestamp:
Sep 7, 2004, 4:49:39 AM (21 years ago)
Author:
bird
Message:

GCC v3.3.4 - official sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc/libjava/java/net/NetworkInterface.java

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1475 r1476  
    116116
    117117  /**
    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
    124127   */
    125128  public static NetworkInterface getByName (String name)
     
    138141      }
    139142
    140     throw new SocketException ("no network interface with this name exists");
     143   // No interface with the given name found.
     144   return null;
    141145  }
    142146
Note: See TracChangeset for help on using the changeset viewer.