Klasse java.net.NoRouteToHostException | 1.1 |
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--java.net.SocketException
|
+--java.net.NoRouteToHostException
Deklaration
public class NoRouteToHostException
extends java.net.SocketException
Beschreibung
Diese Exception tritt auf, wenn der Ziel-Host beim Aufbau einer Netzverbindung nicht erreicht werden konnte. Mögliche Ursachen sind ein falsch konfigurierter Router oder eine dazwischenliegende Firewall.
Konstruktoren im Detail
-
public NoRouteToHostException()
-
Erzeugt ein neues NoRouteToHostException-Objekt ohne Angabe einer Fehlermeldung.
-
public NoRouteToHostException(String s)
-
Erzeugt ein neues NoRouteToHostException-Objekt mit der Fehlermeldung s, die nähere Informationen über den speziellen Fehlerfall enthält.
Copyright © 2002 dpunkt.Verlag, Heidelberg. Alle Rechte vorbehalten.