JavaTM Platform
Standard Ed. 6

javax.naming
クラス ServiceUnavailableException

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

public class ServiceUnavailableException
extends NamingException

この例外は、ディレクトリサービスまたはネームサービスとの通信を試みた結果、そのサービスが利用できない場合にスローされます。サービスが利用できない理由は様々です。サーバーが非常にビジーなため要求に対してサービスを提供できない、または要求に対してサービスを提供するサーバーとして登録されていないなどの理由があります。

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

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

フィールドの概要
 
クラス javax.naming.NamingException から継承されたフィールド
remainingName, resolvedName, resolvedObj, rootException
 
コンストラクタの概要
ServiceUnavailableException()
          ServiceUnavailableException の新しいインスタンスを構築します。
ServiceUnavailableException(String explanation)
          説明を使用して、ServiceUnavailableException の新しいインスタンスを構築します。
 
メソッドの概要
 
クラス 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
 

コンストラクタの詳細

ServiceUnavailableException

public ServiceUnavailableException(String explanation)
説明を使用して、ServiceUnavailableException の新しいインスタンスを構築します。ほかのフィールドのデフォルトはすべて null になります。

パラメータ:
explanation - null の可能性がある、この例外に関する追加の詳細情報
関連項目:
Throwable.getMessage()

ServiceUnavailableException

public ServiceUnavailableException()
ServiceUnavailableException の新しいインスタンスを構築します。フィールドのデフォルトはすべて null になります。


JavaTM Platform
Standard Ed. 6

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

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