Author: ggregory
Date: Tue Jun  7 01:10:31 2016
New Revision: 1747107

URL: http://svn.apache.org/viewvc?rev=1747107&view=rev
Log:
Update old school @exception with new school @throws.

Modified:
    
commons/proper/digester/trunk/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/MarkupDigester.java
    
commons/proper/digester/trunk/examples/rss/src/main/java/org/apache/commons/digester3/rss/Channel.java
    
commons/proper/digester/trunk/examples/rss/src/main/java/org/apache/commons/digester3/rss/RSSDigester.java

Modified: 
commons/proper/digester/trunk/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/MarkupDigester.java
URL: 
http://svn.apache.org/viewvc/commons/proper/digester/trunk/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/MarkupDigester.java?rev=1747107&r1=1747106&r2=1747107&view=diff
==============================================================================
--- 
commons/proper/digester/trunk/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/MarkupDigester.java
 (original)
+++ 
commons/proper/digester/trunk/examples/api/document-markup/src/main/java/org/apache/commons/digester3/examples/api/documentmarkup/MarkupDigester.java
 Tue Jun  7 01:10:31 2016
@@ -70,7 +70,7 @@ public class MarkupDigester
      * @param start Starting offset into the buffer
      * @param length Number of characters from the buffer
      *
-     * @exception SAXException if a parsing error is to be reported
+     * @throws SAXException if a parsing error is to be reported
      */
     @Override
     public void characters( char buffer[], int start, int length )
@@ -91,7 +91,7 @@ public class MarkupDigester
      *   string if qualified names are not available.
      * @param list The attributes attached to the element. If there are
      *   no attributes, it shall be an empty Attributes object. 
-     * @exception SAXException if a parsing error is to be reported
+     * @throws SAXException if a parsing error is to be reported
      */
     @Override
     public void startElement( String namespaceURI, String localName, String 
qName, Attributes list )
@@ -117,7 +117,7 @@ public class MarkupDigester
      *   string if Namespace processing is not being performed.
      * @param qName - The qualified XML 1.0 name (with prefix), or the
      *   empty string if qualified names are not available.
-     * @exception SAXException if a parsing error is to be reported
+     * @throws SAXException if a parsing error is to be reported
      */
     @Override
     public void endElement( String namespaceURI, String localName, String 
qName )

Modified: 
commons/proper/digester/trunk/examples/rss/src/main/java/org/apache/commons/digester3/rss/Channel.java
URL: 
http://svn.apache.org/viewvc/commons/proper/digester/trunk/examples/rss/src/main/java/org/apache/commons/digester3/rss/Channel.java?rev=1747107&r1=1747106&r2=1747107&view=diff
==============================================================================
--- 
commons/proper/digester/trunk/examples/rss/src/main/java/org/apache/commons/digester3/rss/Channel.java
 (original)
+++ 
commons/proper/digester/trunk/examples/rss/src/main/java/org/apache/commons/digester3/rss/Channel.java
 Tue Jun  7 01:10:31 2016
@@ -435,7 +435,7 @@ public class Channel
      * @param encoding The character encoding to declare, or <code>null</code>
      *  for no declaration
      *
-     * @exception UnsupportedEncodingException if the named encoding
+     * @throws UnsupportedEncodingException if the named encoding
      *  is not supported
      */
     public void render( OutputStream stream, String encoding )

Modified: 
commons/proper/digester/trunk/examples/rss/src/main/java/org/apache/commons/digester3/rss/RSSDigester.java
URL: 
http://svn.apache.org/viewvc/commons/proper/digester/trunk/examples/rss/src/main/java/org/apache/commons/digester3/rss/RSSDigester.java?rev=1747107&r1=1747106&r2=1747107&view=diff
==============================================================================
--- 
commons/proper/digester/trunk/examples/rss/src/main/java/org/apache/commons/digester3/rss/RSSDigester.java
 (original)
+++ 
commons/proper/digester/trunk/examples/rss/src/main/java/org/apache/commons/digester3/rss/RSSDigester.java
 Tue Jun  7 01:10:31 2016
@@ -128,8 +128,8 @@ public class RSSDigester
      *
      * @param file File containing the XML data to be parsed
      *
-     * @exception IOException if an input/output error occurs
-     * @exception SAXException if a parsing exception occurs
+     * @throws IOException if an input/output error occurs
+     * @throws SAXException if a parsing exception occurs
      */
     @Override
     public <T> T parse( File file )
@@ -146,8 +146,8 @@ public class RSSDigester
      *
      * @param input Input source containing the XML data to be parsed
      *
-     * @exception IOException if an input/output error occurs
-     * @exception SAXException if a parsing exception occurs
+     * @throws IOException if an input/output error occurs
+     * @throws SAXException if a parsing exception occurs
      */
     @Override
     public <T> T parse( InputSource input )
@@ -165,8 +165,8 @@ public class RSSDigester
      *
      * @param input Input stream containing the XML data to be parsed
      *
-     * @exception IOException if an input/output error occurs
-     * @exception SAXException if a parsing exception occurs
+     * @throws IOException if an input/output error occurs
+     * @throws SAXException if a parsing exception occurs
      */
     @Override
     public <T> T parse( InputStream input )
@@ -183,8 +183,8 @@ public class RSSDigester
      *
      * @param uri URI containing the XML data to be parsed
      *
-     * @exception IOException if an input/output error occurs
-     * @exception SAXException if a parsing exception occurs
+     * @throws IOException if an input/output error occurs
+     * @throws SAXException if a parsing exception occurs
      */
     @Override
     public <T> T parse( String uri )


Reply via email to