Foundation 1.1.2

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 を新しく構築します。詳細メッセージとは、このエラー特有の説明を記述する文字列のことです。

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

NoRouteToHostException

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


Foundation 1.1.2

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

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