JavaTM 2 Platform
Standard Ed. 5.0

java.io
クラス StreamCorruptedException

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

public class StreamCorruptedException
extends ObjectStreamException

オブジェクトストリームから読み込まれた制御情報が、内部整合性検査に違反していた場合にスローされます。

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

コンストラクタの概要
StreamCorruptedException()
          StreamCorruptedException を作成しますが、スローされた理由は記述しません。
StreamCorruptedException(String reason)
          StreamCorruptedException を作成して、スローされた理由を記述します。
 
メソッドの概要
 
クラス 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
 

コンストラクタの詳細

StreamCorruptedException

public StreamCorruptedException(String reason)
StreamCorruptedException を作成して、スローされた理由を記述します。

パラメータ:
reason - 例外である理由を説明する文字列

StreamCorruptedException

public StreamCorruptedException()
StreamCorruptedException を作成しますが、スローされた理由は記述しません。


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 も参照してください。