JavaTM Platform
Standard Ed. 6

javax.naming
クラス CommunicationException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 javax.naming.NamingException
              上位を拡張 javax.naming.CommunicationException
すべての実装されたインタフェース:
Serializable

public class CommunicationException
extends NamingException

この例外は、クライアントがディレクトリサービスまたはネーミングサービスと通信できない場合にスローされます。サービスと通信できない要因としては、ネットワークの区分化、ハードウェアまたはインタフェースの問題、クライアントまたはサービス側の障害など、さまざまな事項が考えられます。この例外は、こうした通信上の問題を取り込むために使用されることを意図しています。

NamingException に適用される同期および直列化は、ここで直接適用されます。

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

フィールドの概要
 
クラス javax.naming.NamingException から継承されたフィールド
remainingName, resolvedName, resolvedObj, rootException
 
コンストラクタの概要
CommunicationException()
          CommunicationException の新しいインスタンスを構築します。
CommunicationException(String explanation)
          指定された引数を使用して、CommunicationException の新しいインスタンスを構築します。
 
メソッドの概要
 
クラス javax.naming.NamingException から継承されたメソッド
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
 
クラス java.lang.Throwable から継承されたメソッド
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

CommunicationException

public CommunicationException(String explanation)
指定された引数を使用して、CommunicationException の新しいインスタンスを構築します。

パラメータ:
explanation - この例外についての追加詳細情報
関連項目:
Throwable.getMessage()

CommunicationException

public CommunicationException()
CommunicationException の新しいインスタンスを構築します。


JavaTM Platform
Standard Ed. 6

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

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