commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r429968 - /jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/util/FileObjectUtils.java
Date Wed, 09 Aug 2006 05:20:42 GMT
Author: imario
Date: Tue Aug  8 22:20:42 2006
New Revision: 429968

URL: http://svn.apache.org/viewvc?rev=429968&view=rev
Log:
add object class name to error message

Modified:
    jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/util/FileObjectUtils.java

Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/util/FileObjectUtils.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/util/FileObjectUtils.java?rev=429968&r1=429967&r2=429968&view=diff
==============================================================================
--- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/util/FileObjectUtils.java
(original)
+++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/util/FileObjectUtils.java
Tue Aug  8 22:20:42 2006
@@ -47,7 +47,7 @@
 			return (AbstractFileObject) searchObject;
 		}
 		
-        throw new FileSystemException("vfs.util/find-abstract-file-object.error");
+        throw new FileSystemException("vfs.util/find-abstract-file-object.error", fileObject==null?"null":fileObject.getClass().getName());
 	}
 
 	/**



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message