JavaTM 2 Platform
Standard Ed. 5.0

java.net
クラス NoRouteToHostException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 java.io.IOException
              上位を拡張 java.net.SocketException
                  上位を拡張 java.net.NoRouteToHostException
すべての実装されたインタフェース:
Serializable

public class NoRouteToHostException
extends SocketException

ソケットをリモートアドレスおよびポートに接続しようとしているときにエラーが発生したことを示します。ファイアウォールがあるためリモートホストに到達できないか、中間ルータがダウンしている可能性があります。

導入されたバージョン:
JDK1.1
関連項目:
直列化された形式

コンストラクタの概要
NoRouteToHostException()
          詳細メッセージを指定しないで NoRouteToHostException を新しく構築します。
NoRouteToHostException(String msg)
          リモートホストに到達できなかった理由に関する詳細メッセージを持つ新しい NoRouteToHostException を構築します。
 
メソッドの概要
 
クラス java.lang.Throwable から継承されたメソッド
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

NoRouteToHostException

public NoRouteToHostException(String msg)
リモートホストに到達できなかった理由に関する詳細メッセージを持つ新しい NoRouteToHostException を構築します。詳細メッセージは、このエラーについて説明する String です。

パラメータ:
msg - 詳細メッセージ

NoRouteToHostException

public NoRouteToHostException()
詳細メッセージを指定しないで NoRouteToHostException を新しく構築します。


JavaTM 2 Platform
Standard Ed. 5.0

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java 2 SDK SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。