2000-04-11 17:21:53 +08:00
|
|
|
/* Copyright (C) 2000 Free Software Foundation
|
|
|
|
|
|
|
|
This file is part of libgcj.
|
|
|
|
|
|
|
|
This software is copyrighted work licensed under the terms of the
|
|
|
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|
|
|
details. */
|
|
|
|
|
|
|
|
package java.io;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Warren Levy <warrenl@cygnus.com>
|
|
|
|
* @date February 7, 2000.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Written using on-line Java Platform 1.2 API Specification.
|
|
|
|
* Status: Believed complete and correct.
|
|
|
|
*/
|
|
|
|
|
|
|
|
public class OptionalDataException extends ObjectStreamException
|
|
|
|
{
|
2000-06-27 13:10:03 +08:00
|
|
|
// FIXME: Need to set these fields per the doc in a constructor.
|
|
|
|
public boolean eof;
|
|
|
|
public int length;
|
|
|
|
|
2000-04-11 17:21:53 +08:00
|
|
|
public OptionalDataException()
|
|
|
|
{
|
|
|
|
super();
|
|
|
|
}
|
|
|
|
|
|
|
|
public OptionalDataException(String msg)
|
|
|
|
{
|
|
|
|
super(msg);
|
|
|
|
}
|
|
|
|
}
|