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 pn...@apache.org on 2003/05/02 13:53:58 UTC
cvs commit: jakarta-slide/proposals/wvcm/src/javax/wvcm Location.java
pnever 2003/05/02 04:53:58
Modified: proposals/wvcm/src/org/apache/wvcm LocationImpl.java
proposals/wvcm/src/javax/wvcm Location.java
Log:
According to jsr-147-eg: Location.child() now throws WvcmException
Revision Changes Path
1.5 +5 -5 jakarta-slide/proposals/wvcm/src/org/apache/wvcm/LocationImpl.java
Index: LocationImpl.java
===================================================================
RCS file: /home/cvs/jakarta-slide/proposals/wvcm/src/org/apache/wvcm/LocationImpl.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- LocationImpl.java 30 Apr 2003 16:28:08 -0000 1.4
+++ LocationImpl.java 2 May 2003 11:53:57 -0000 1.5
@@ -192,7 +192,7 @@
* is commonly created by appending a "/" and the name
* of the child to the string value of this Location.
*/
- public Location child(String bindingName) {
+ public Location child(String bindingName) throws WvcmException {
return new LocationImpl( new Path(string()+"/"+bindingName), this );
}
1.2 +1 -1 jakarta-slide/proposals/wvcm/src/javax/wvcm/Location.java
Index: Location.java
===================================================================
RCS file: /home/cvs/jakarta-slide/proposals/wvcm/src/javax/wvcm/Location.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Location.java 13 Mar 2003 14:59:27 -0000 1.1
+++ Location.java 2 May 2003 11:53:58 -0000 1.2
@@ -17,7 +17,7 @@
* is commonly created by appending a "/" and the name
* of the child to the string value of this Location.
*/
- public Location child(String bindingName);
+ public Location child(String bindingName) throws WvcmException;
/**
* Return the Location of the parent folder of the resource
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org