Index: ops/io.ops
===================================================================
RCS file: /cvs/public/parrot/ops/io.ops,v
retrieving revision 1.52
diff -u -r1.52 io.ops
--- ops/io.ops	27 Nov 2004 11:11:22 -0000	1.52
+++ ops/io.ops	31 Jan 2005 04:43:51 -0000
@@ -366,8 +366,7 @@
   int ok = VTABLE_get_bool(interpreter, $2);
   $1 = NULL;
   if (!ok)
-      real_exception(interpreter, resume, PIO_ERROR,
-          "File not found");
+      internal_exception(1, "Cannot read line from empty filehandle");
 
   if ($2) {
     PIO_setlinebuf(interpreter, $2);
