harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r466054 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/platform/OSFileSystem.java
Date Fri, 20 Oct 2006 10:32:46 GMT
Author: pyang
Date: Fri Oct 20 03:32:45 2006
New Revision: 466054

URL: http://svn.apache.org/viewvc?view=rev&rev=466054
Log:
Make the FileNotFoundException message more friendly

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/platform/OSFileSystem.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/platform/OSFileSystem.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/platform/OSFileSystem.java?view=diff&rev=466054&r1=466053&r2=466054
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/platform/OSFileSystem.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/platform/OSFileSystem.java
Fri Oct 20 03:32:45 2006
@@ -219,7 +219,7 @@
 		}
 		long handler = openImpl(fileName, mode);
 		if (handler < 0) {
-			throw new FileNotFoundException();
+			throw new FileNotFoundException(new String(fileName));
 		}
 		return handler;
 	}



Mime
View raw message