You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by wa...@apache.org on 2002/08/20 13:51:50 UTC
cvs commit: jakarta-slide/src/share/org/apache/slide/search SlideUri.java
wam 2002/08/20 04:51:50
Modified: src/share/org/apache/slide/search SlideUri.java
Log:
enhance error handling
Revision Changes Path
1.6 +6 -6 jakarta-slide/src/share/org/apache/slide/search/SlideUri.java
Index: SlideUri.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/search/SlideUri.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- SlideUri.java 21 Jun 2002 08:09:11 -0000 1.5
+++ SlideUri.java 20 Aug 2002 11:51:50 -0000 1.6
@@ -116,9 +116,9 @@
if (relPath.startsWith("/")) {
String relContext = getContextOfRelPath (relPath);
if (!relContext.equals (context))
- throw new InvalidScopeException ("Uri does not refer to " + context
- + ". If an absolute scope is used, it must start with /"
- + context);
+ throw new InvalidScopeException ("Uri \"" + relPath + "\" does not refer to " + context
+ + ". If an absolute scope is used, it must start with \""
+ + context + "\"");
relPath = getPathOfRelPath (relPath);
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>