Author: fguillaume
Date: Tue Oct  5 10:44:39 2010
New Revision: 1004605

URL: http://svn.apache.org/viewvc?rev=1004605&view=rev
Log:
Better diagnostic on error

Modified:
    
incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/atompub/AtomPubUtils.java

Modified: 
incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/atompub/AtomPubUtils.java
URL: 
http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/atompub/AtomPubUtils.java?rev=1004605&r1=1004604&r2=1004605&view=diff
==============================================================================
--- 
incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/atompub/AtomPubUtils.java
 (original)
+++ 
incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/atompub/AtomPubUtils.java
 Tue Oct  5 10:44:39 2010
@@ -269,7 +269,7 @@ public final class AtomPubUtils {
 
         ObjectInfo info = service.getObjectInfo(repositoryId, object.getId());
         if (info == null) {
-            throw new CmisRuntimeException("Object Info not found!");
+            throw new CmisRuntimeException("Object Info not found for: " + 
object.getId());
         }
 
         // start


Reply via email to