kohsuke 2004/03/16 16:24:38
Modified: java/src/org/apache/xerces/impl/xpath XPath.java
Log:
fixed a typo I introduced in the error message IDs
Revision Changes Path
1.15 +6 -6 xml-xerces/java/src/org/apache/xerces/impl/xpath/XPath.java
Index: XPath.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xpath/XPath.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- XPath.java 24 Feb 2004 22:59:14 -0000 1.14
+++ XPath.java 17 Mar 2004 00:24:37 -0000 1.15
@@ -954,7 +954,7 @@
*/
public int nextToken() throws XPathException {
if( fCurrentTokenIndex==fTokenCount )
- throw new XPathException("c-xpath-general");
+ throw new XPathException("c-general-xpath");
return fTokens[fCurrentTokenIndex++];
}
/**
@@ -966,7 +966,7 @@
*/
public int peekToken() throws XPathException {
if( fCurrentTokenIndex==fTokenCount )
- throw new XPathException("c-xpath-general");
+ throw new XPathException("c-general-xpath");
return fTokens[fCurrentTokenIndex];
}
/**
@@ -978,7 +978,7 @@
*/
public String nextTokenAsString() throws XPathException {
String s = getTokenString(nextToken());
- if(s==null) throw new XPathException("c-xpath-general");
+ if(s==null) throw new XPathException("c-general-xpath");
return s;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]