- public static Host getByName(String name)
- throws HostNotFoundException {
- if (name==null)
- throw new NullPointerException("No host can have a null name");
- return MsgNative.hostGetByName(name);
- }
-
+ public native static Host getByName(String name)
+ throws HostNotFoundException, NullPointerException;