juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject [10/25] incubator-juneau-website git commit: Update javadocs
Date Tue, 04 Jul 2017 17:29:43 GMT
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/d35b70d1/content/site/apidocs/src-html/org/apache/juneau/html/HtmlParserSession.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/html/HtmlParserSession.html b/content/site/apidocs/src-html/org/apache/juneau/html/HtmlParserSession.html
index 386fcd6..93d7170 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/html/HtmlParserSession.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/html/HtmlParserSession.html
@@ -93,7 +93,7 @@
 <span class="sourceLineNo">085</span>    * @throws XMLStreamException<a name="line.85"></a>
 <span class="sourceLineNo">086</span>    */<a name="line.86"></a>
 <span class="sourceLineNo">087</span>   @Override /* XmlParserSession */<a
name="line.87"></a>
-<span class="sourceLineNo">088</span>   public String parseText(XMLStreamReader
r) throws XMLStreamException {<a name="line.88"></a>
+<span class="sourceLineNo">088</span>   public String parseText(XMLStreamReader
r) throws Exception {<a name="line.88"></a>
 <span class="sourceLineNo">089</span><a name="line.89"></a>
 <span class="sourceLineNo">090</span>      StringBuilder sb = getStringBuilder();<a
name="line.90"></a>
 <span class="sourceLineNo">091</span><a name="line.91"></a>
@@ -184,7 +184,7 @@
 <span class="sourceLineNo">176</span>    * @throws XMLStreamException<a name="line.176"></a>
 <span class="sourceLineNo">177</span>    */<a name="line.177"></a>
 <span class="sourceLineNo">178</span>   @Override /* XmlParserSession */<a
name="line.178"></a>
-<span class="sourceLineNo">179</span>   public String getElementText(XMLStreamReader
r) throws XMLStreamException {<a name="line.179"></a>
+<span class="sourceLineNo">179</span>   public String getElementText(XMLStreamReader
r) throws Exception {<a name="line.179"></a>
 <span class="sourceLineNo">180</span>      r.next();<a name="line.180"></a>
 <span class="sourceLineNo">181</span>      return parseText(r);<a name="line.181"></a>
 <span class="sourceLineNo">182</span>   }<a name="line.182"></a>
@@ -196,7 +196,7 @@
 <span class="sourceLineNo">188</span>   }<a name="line.188"></a>
 <span class="sourceLineNo">189</span><a name="line.189"></a>
 <span class="sourceLineNo">190</span>   @Override /* XmlParserSession */<a
name="line.190"></a>
-<span class="sourceLineNo">191</span>   public String parseWhitespaceElement(XMLStreamReader
r) throws XMLStreamException {<a name="line.191"></a>
+<span class="sourceLineNo">191</span>   public String parseWhitespaceElement(XMLStreamReader
r) throws Exception {<a name="line.191"></a>
 <span class="sourceLineNo">192</span><a name="line.192"></a>
 <span class="sourceLineNo">193</span>      HtmlTag tag = HtmlTag.forEvent(r);<a
name="line.193"></a>
 <span class="sourceLineNo">194</span>      int et = r.next();<a name="line.194"></a>
@@ -216,7 +216,7 @@
 <span class="sourceLineNo">208</span>         }<a name="line.208"></a>
 <span class="sourceLineNo">209</span>         return "";<a name="line.209"></a>
 <span class="sourceLineNo">210</span>      } else {<a name="line.210"></a>
-<span class="sourceLineNo">211</span>         throw new XMLStreamException("Invalid
tag found in parseWhitespaceElement(): " + tag);<a name="line.211"></a>
+<span class="sourceLineNo">211</span>         throw new XmlParseException(r.getLocation(),
"Invalid tag found in parseWhitespaceElement(): ''{0}''", tag);<a name="line.211"></a>
 <span class="sourceLineNo">212</span>      }<a name="line.212"></a>
 <span class="sourceLineNo">213</span>   }<a name="line.213"></a>
 <span class="sourceLineNo">214</span>}<a name="line.214"></a>


Mime
View raw message