} catch (MalformedURLException e) { // should have received malformed URL exception
System.err.println("Correctly received instance of " + "MalformedURLException:");
System.err.println(e.getMessage());
e.printStackTrace();
} catch (Exception e) {
TestLibrary.bomb(e);
}
// ensure a correct null pointer exception is thrown for null URL // ensure that a registry stub with a default hostname and one with a // the local host's ip address are .equals() try {
String localAddress = InetAddress.getLocalHost().getHostAddress();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.