Saturday, August 10, 2002 06:17 PM
How about this.
System.out.println("File is possibly empty.");
// throw new Exception("File is possibly empty.");
// with getMessage() method for the caught Exception.
Byte length is known if you use "another" FileInputStream object (e.g., _istream) and the read() method, with counting block