import java.io.EOFException; import java.io.IOException; import java.io.InterruptedIOException; public interface Idea4780 { /** * @throws IOException if an I/O error occurs while reading. * @throws EOFException if this source is already closed when the read() is called, * or is closed during the read(). * @throws InterruptedIOException if the reading thread is interrupted. */ public Object read() throws IOException; }