import java.io.IOException; /** * Thrown when stream format from server is out of spec. * * @author Roedy Green * @version 1.0 2003-07-27 */ public class BadStreamException extends IOException { /** * Create a BadStreamExecption and list a reason why thrown. * * @param reason String describing the reason for the exception. */ public BadStreamException ( String reason ) { super( reason ); } /** * Create a BadStreamException and list no reason why thrown. */ public BadStreamException() { super(); } }