org.apache.commons.lang
クラス IllegalClassException

java.lang.Object
  拡張java.lang.Throwable
      拡張java.lang.Exception
          拡張java.lang.RuntimeException
              拡張java.lang.IllegalArgumentException
                  拡張org.apache.commons.lang.IllegalClassException
すべての実装インタフェース:
Serializable

public class IllegalClassException
extends IllegalArgumentException

オブジェクトが予期しない型(class または interface)のインスタンスだった場合に投げられます。

Thrown when an object is an instance of an unexpected type (a class or interface).

導入されたバージョン:
2.0
バージョン:
$Id: IllegalClassException.java,v 1.1.1.1 2004/02/13 10:02:05 hioki Exp $
作成者:
Matthew Hawthorne, Gary Gregory
関連項目:
直列化された形式
翻訳者:
日置 聡
翻訳状況:
初稿(校正者募集中)
翻訳更新日:
2003/09/04

コンストラクタの概要
IllegalClassException(Class expected, Class actual)
          指定された型(class または interface)でインスタンス化します。
IllegalClassException(String message)
          指定されたメッセージでインスタンス化します。
 
クラス 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
 

コンストラクタの詳細

IllegalClassException

public IllegalClassException(Class expected,
                             Class actual)

指定された型(class または interface)でインスタンス化します。

Instantiates with the specified types (classes or interfaces).

パラメータ:
expected - 予期していた型
the expected type
actual - 実際の型
the actual type

IllegalClassException

public IllegalClassException(String message)

指定されたメッセージでインスタンス化します。

Instantiates with the specified message.

パラメータ:
message - 例外メッセージ
the exception message


このドキュメントは、Ja-Jakartaにより訳されました。 コメントがある場合は report@jajakarta.orgまでお願いします。
Translated into Japanese by jajakarta.org. The original page is here.
Copyright (c) 2002-2003 - Apache Software Foundation