The point I am trying to put across is:
Even if a package defines a user defined exception, the message should have been an appropriate one. In this specific case, since the file handle itself was not opened, a more appropriate error message wud have been "Invalid File Handle".

Have any of u come across a similar case occuring in any of the other supplied packages?