You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2015/08/26 17:52:40 UTC
svn commit: r1697957 -
/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceNotFoundException.java
Author: kwin
Date: Wed Aug 26 15:52:40 2015
New Revision: 1697957
URL: http://svn.apache.org/r1697957
Log:
SLING-4943 include the resource path in the exception message
Modified:
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceNotFoundException.java
Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceNotFoundException.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceNotFoundException.java?rev=1697957&r1=1697956&r2=1697957&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceNotFoundException.java (original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceNotFoundException.java Wed Aug 26 15:52:40 2015
@@ -40,7 +40,7 @@ public class ResourceNotFoundException e
}
public ResourceNotFoundException(String resource, String message) {
- super(message);
+ super("Resource at '"+ resource + "' not found: " + message);
this.resource = resource;
}