BlockDataException.java: Removed.

* java/io/BlockDataException.java: Removed.
	* java/io/ObjectInputStream.java (readObject): Throw
	StreamCorruptedException, not BlockDataException.
	* Makefile.am: Remove BlockDataException.
	* Makefile.in: Rebuild.

From-SVN: r39616
This commit is contained in:
Bryce McKinlay 2001-02-13 07:42:48 +00:00 committed by Bryce McKinlay
parent 5b0d91c392
commit 7eecbdb322
5 changed files with 33 additions and 83 deletions

View file

@ -135,7 +135,7 @@ public class ObjectInputStream extends InputStream
else
dumpElementln ("BLOCKDATA");
readNextBlock (marker);
throw new BlockDataException (this.blockDataBytes);
throw new StreamCorruptedException ("Unexpected blockData");
case TC_NULL:
dumpElementln ("NULL");