You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2016/06/07 02:19:33 UTC
svn commit: r1747115 - in /commons/proper/jelly/trunk:
jelly-tags/avalon/src/java/org/apache/commons/jelly/avalon/
jelly-tags/betwixt/src/test/org/apache/commons/digester/rss/
jelly-tags/soap/src/java/org/apache/commons/jelly/tags/soap/
jelly-tags/sql/...
Author: ggregory
Date: Tue Jun 7 02:19:33 2016
New Revision: 1747115
URL: http://svn.apache.org/viewvc?rev=1747115&view=rev
Log:
Update old school @exception with new school @throws.
Modified:
commons/proper/jelly/trunk/jelly-tags/avalon/src/java/org/apache/commons/jelly/avalon/JellyService.java
commons/proper/jelly/trunk/jelly-tags/avalon/src/java/org/apache/commons/jelly/avalon/JellyServiceImpl.java
commons/proper/jelly/trunk/jelly-tags/betwixt/src/test/org/apache/commons/digester/rss/Channel.java
commons/proper/jelly/trunk/jelly-tags/betwixt/src/test/org/apache/commons/digester/rss/RSSDigester.java
commons/proper/jelly/trunk/jelly-tags/soap/src/java/org/apache/commons/jelly/tags/soap/StringInputStream.java
commons/proper/jelly/trunk/jelly-tags/sql/src/java/javax/servlet/jsp/jstl/sql/ResultImpl.java
commons/proper/jelly/trunk/jelly-tags/sql/src/java/org/apache/commons/jelly/tags/sql/ResultImpl.java
commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/XMLOutput.java
commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/DefaultNamespaceFilter.java
commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/XMLParser.java
commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/util/CommandLineParser.java
Modified: commons/proper/jelly/trunk/jelly-tags/avalon/src/java/org/apache/commons/jelly/avalon/JellyService.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/avalon/src/java/org/apache/commons/jelly/avalon/JellyService.java?rev=1747115&r1=1747114&r2=1747115&view=diff
==============================================================================
--- commons/proper/jelly/trunk/jelly-tags/avalon/src/java/org/apache/commons/jelly/avalon/JellyService.java (original)
+++ commons/proper/jelly/trunk/jelly-tags/avalon/src/java/org/apache/commons/jelly/avalon/JellyService.java Tue Jun 7 02:19:33 2016
@@ -54,7 +54,7 @@ public interface JellyService {
*
* @param params Parameters to be supplied to the script
* @return All of the variables from the JellyContext
- * @exception Exception if the script raises some kind of exception while processing
+ * @throws Exception if the script raises some kind of exception while processing
*/
public Map runNamedScript( String name, Map params ) throws Exception;
@@ -66,7 +66,7 @@ public interface JellyService {
* @param params Parameters to be supplied to the script
* @param output is the XMLOutput for any output to be sent
* @return All of the variables from the JellyContext
- * @exception Exception if the script raises some kind of exception while processing
+ * @throws Exception if the script raises some kind of exception while processing
*/
public Map runNamedScript( String name, Map params, XMLOutput output ) throws Exception;
@@ -79,7 +79,7 @@ public interface JellyService {
* @param params Parameters to be supplied to the script
* @param out is the outputStream for output to be sent
* @return All of the variables from the JellyContext
- * @exception Exception if the script raises some kind of exception while processing
+ * @throws Exception if the script raises some kind of exception while processing
*/
public Map runNamedScript( String name, Map params, OutputStream out ) throws Exception;
@@ -101,7 +101,7 @@ public interface JellyService {
* @param params Parameters to be supplied to the script
* @param out The OutputStream to send the output of the script to
* @return All of the variables from the JellyContext
- * @exception Exception if the script raises some kind of exception while processing
+ * @throws Exception if the script raises some kind of exception while processing
*/
public Map runScript( String url, Map params, OutputStream out ) throws Exception;
@@ -111,7 +111,7 @@ public interface JellyService {
* @param url The URL of the script
* @param params Parameters to be supplied to the script
* @return All of the variables from the JellyContext
- * @exception Exception if the script raises some kind of exception while processing
+ * @throws Exception if the script raises some kind of exception while processing
*/
public Map runScript( String url, Map params ) throws Exception;
Modified: commons/proper/jelly/trunk/jelly-tags/avalon/src/java/org/apache/commons/jelly/avalon/JellyServiceImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/avalon/src/java/org/apache/commons/jelly/avalon/JellyServiceImpl.java?rev=1747115&r1=1747114&r2=1747115&view=diff
==============================================================================
--- commons/proper/jelly/trunk/jelly-tags/avalon/src/java/org/apache/commons/jelly/avalon/JellyServiceImpl.java (original)
+++ commons/proper/jelly/trunk/jelly-tags/avalon/src/java/org/apache/commons/jelly/avalon/JellyServiceImpl.java Tue Jun 7 02:19:33 2016
@@ -155,7 +155,7 @@ public class JellyServiceImpl implements
* </p>
*
* @param config The configuration
- * @exception ConfigurationException
+ * @throws ConfigurationException
*/
public void configure( Configuration config ) throws ConfigurationException {
if( m_configured )
Modified: commons/proper/jelly/trunk/jelly-tags/betwixt/src/test/org/apache/commons/digester/rss/Channel.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/betwixt/src/test/org/apache/commons/digester/rss/Channel.java?rev=1747115&r1=1747114&r2=1747115&view=diff
==============================================================================
--- commons/proper/jelly/trunk/jelly-tags/betwixt/src/test/org/apache/commons/digester/rss/Channel.java (original)
+++ commons/proper/jelly/trunk/jelly-tags/betwixt/src/test/org/apache/commons/digester/rss/Channel.java Tue Jun 7 02:19:33 2016
@@ -414,7 +414,7 @@ public class Channel implements Serializ
* @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/jelly/trunk/jelly-tags/betwixt/src/test/org/apache/commons/digester/rss/RSSDigester.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/betwixt/src/test/org/apache/commons/digester/rss/RSSDigester.java?rev=1747115&r1=1747114&r2=1747115&view=diff
==============================================================================
--- commons/proper/jelly/trunk/jelly-tags/betwixt/src/test/org/apache/commons/digester/rss/RSSDigester.java (original)
+++ commons/proper/jelly/trunk/jelly-tags/betwixt/src/test/org/apache/commons/digester/rss/RSSDigester.java Tue Jun 7 02:19:33 2016
@@ -145,8 +145,8 @@ public class RSSDigester extends Digeste
*
* @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
*/
public Object parse(File file) throws IOException, SAXException {
@@ -163,8 +163,8 @@ public class RSSDigester extends Digeste
*
* @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
*/
public Object parse(InputSource input) throws IOException, SAXException {
@@ -181,8 +181,8 @@ public class RSSDigester extends Digeste
*
* @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
*/
public Object parse(InputStream input) throws IOException, SAXException {
@@ -199,8 +199,8 @@ public class RSSDigester extends Digeste
*
* @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
*/
public Object parse(String uri) throws IOException, SAXException {
Modified: commons/proper/jelly/trunk/jelly-tags/soap/src/java/org/apache/commons/jelly/tags/soap/StringInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/soap/src/java/org/apache/commons/jelly/tags/soap/StringInputStream.java?rev=1747115&r1=1747114&r2=1747115&view=diff
==============================================================================
--- commons/proper/jelly/trunk/jelly-tags/soap/src/java/org/apache/commons/jelly/tags/soap/StringInputStream.java (original)
+++ commons/proper/jelly/trunk/jelly-tags/soap/src/java/org/apache/commons/jelly/tags/soap/StringInputStream.java Tue Jun 7 02:19:33 2016
@@ -51,7 +51,7 @@ public class StringInputStream
*
* @return the value of the next character in the StringReader
*
- * @exception IOException if the original StringReader fails to be read
+ * @throws IOException if the original StringReader fails to be read
*/
public int read() throws IOException
{
@@ -61,7 +61,7 @@ public class StringInputStream
/**
* Closes the Stringreader.
*
- * @exception IOException if the original StringReader fails to be closed
+ * @throws IOException if the original StringReader fails to be closed
*/
public void close() throws IOException
{
@@ -89,7 +89,7 @@ public class StringInputStream
/**
* Resets the StringReader.
*
- * @exception IOException if the StringReader fails to be reset
+ * @throws IOException if the StringReader fails to be reset
*/
public synchronized void reset() throws IOException
{
Modified: commons/proper/jelly/trunk/jelly-tags/sql/src/java/javax/servlet/jsp/jstl/sql/ResultImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/sql/src/java/javax/servlet/jsp/jstl/sql/ResultImpl.java?rev=1747115&r1=1747114&r2=1747115&view=diff
==============================================================================
--- commons/proper/jelly/trunk/jelly-tags/sql/src/java/javax/servlet/jsp/jstl/sql/ResultImpl.java (original)
+++ commons/proper/jelly/trunk/jelly-tags/sql/src/java/javax/servlet/jsp/jstl/sql/ResultImpl.java Tue Jun 7 02:19:33 2016
@@ -46,7 +46,7 @@ class ResultImpl implements Result {
* row
* @param startRow, beginning row to be cached
* @param maxRows, query maximum rows limit
- * @exception if a database error occurs
+ * @throws if a database error occurs
*/
public ResultImpl(ResultSet rs, int startRow, int maxRows)
throws SQLException
Modified: commons/proper/jelly/trunk/jelly-tags/sql/src/java/org/apache/commons/jelly/tags/sql/ResultImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/sql/src/java/org/apache/commons/jelly/tags/sql/ResultImpl.java?rev=1747115&r1=1747114&r2=1747115&view=diff
==============================================================================
--- commons/proper/jelly/trunk/jelly-tags/sql/src/java/org/apache/commons/jelly/tags/sql/ResultImpl.java (original)
+++ commons/proper/jelly/trunk/jelly-tags/sql/src/java/org/apache/commons/jelly/tags/sql/ResultImpl.java Tue Jun 7 02:19:33 2016
@@ -48,7 +48,7 @@ public class ResultImpl implements Resul
* row
* @param startRow, beginning row to be cached
* @param maxRows, query maximum rows limit
- * @exception if a database error occurs
+ * @throws if a database error occurs
*/
public ResultImpl(ResultSet rs, int startRow, int maxRows)
throws SQLException {
Modified: commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/XMLOutput.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/XMLOutput.java?rev=1747115&r1=1747114&r2=1747115&view=diff
==============================================================================
--- commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/XMLOutput.java (original)
+++ commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/XMLOutput.java Tue Jun 7 02:19:33 2016
@@ -312,7 +312,7 @@ public class XMLOutput implements Conten
* other event callbacks (except for {@link #setDocumentLocator
* setDocumentLocator}).</p>
*
- * @exception org.xml.sax.SAXException Any SAX exception, possibly
+ * @throws org.xml.sax.SAXException Any SAX exception, possibly
* wrapping another exception.
* @see #endDocument
*/
@@ -329,7 +329,7 @@ public class XMLOutput implements Conten
* (because of an unrecoverable error) or reached the end of
* input.</p>
*
- * @exception org.xml.sax.SAXException Any SAX exception, possibly
+ * @throws org.xml.sax.SAXException Any SAX exception, possibly
* wrapping another exception.
* @see #startDocument
*/
@@ -370,7 +370,7 @@ public class XMLOutput implements Conten
* An empty string is used for the default element namespace,
* which has no prefix.
* @param uri The Namespace URI the prefix is mapped to.
- * @exception org.xml.sax.SAXException The client may throw
+ * @throws org.xml.sax.SAXException The client may throw
* an exception during processing.
* @see #endPrefixMapping
* @see #startElement
@@ -392,7 +392,7 @@ public class XMLOutput implements Conten
*
* @param prefix The prefix that was being mapped.
* This is the empty string when a default mapping scope ends.
- * @exception org.xml.sax.SAXException The client may throw
+ * @throws org.xml.sax.SAXException The client may throw
* an exception during processing.
* @see #startPrefixMapping
* @see #endElement
@@ -459,7 +459,7 @@ public class XMLOutput implements Conten
* @param atts The attributes attached to the element. If
* there are no attributes, it shall be an empty
* Attributes object.
- * @exception org.xml.sax.SAXException Any SAX exception, possibly
+ * @throws org.xml.sax.SAXException Any SAX exception, possibly
* wrapping another exception.
* @see #endElement
* @see org.xml.sax.Attributes
@@ -512,7 +512,7 @@ public class XMLOutput implements Conten
* performed.
* @param qName The qualified XML 1.0 name (with prefix), or the
* empty string if qualified names are not available.
- * @exception org.xml.sax.SAXException Any SAX exception, possibly
+ * @throws org.xml.sax.SAXException Any SAX exception, possibly
* wrapping another exception.
*/
public void endElement(String uri, String localName, String qName)
@@ -561,7 +561,7 @@ public class XMLOutput implements Conten
* @param ch The characters from the XML document.
* @param start The start position in the array.
* @param length The number of characters to read from the array.
- * @exception org.xml.sax.SAXException Any SAX exception, possibly
+ * @throws org.xml.sax.SAXException Any SAX exception, possibly
* wrapping another exception.
* @see #ignorableWhitespace
* @see org.xml.sax.Locator
@@ -590,7 +590,7 @@ public class XMLOutput implements Conten
* @param ch The characters from the XML document.
* @param start The start position in the array.
* @param length The number of characters to read from the array.
- * @exception org.xml.sax.SAXException Any SAX exception, possibly
+ * @throws org.xml.sax.SAXException Any SAX exception, possibly
* wrapping another exception.
* @see #characters
*/
@@ -618,7 +618,7 @@ public class XMLOutput implements Conten
* @param data The processing instruction data, or null if
* none was supplied. The data does not include any
* whitespace separating it from the target.
- * @exception org.xml.sax.SAXException Any SAX exception, possibly
+ * @throws org.xml.sax.SAXException Any SAX exception, possibly
* wrapping another exception.
*/
public void processingInstruction(String target, String data)
@@ -648,7 +648,7 @@ public class XMLOutput implements Conten
* parameter entity, the name will begin with '%', and if
* it is the external DTD subset, it will be the string
* "[dtd]".
- * @exception org.xml.sax.SAXException Any SAX exception, possibly
+ * @throws org.xml.sax.SAXException Any SAX exception, possibly
* wrapping another exception.
*/
public void skippedEntity(String name) throws SAXException {
@@ -692,7 +692,7 @@ public class XMLOutput implements Conten
* external DTD subset, or null if none was declared.
* (Note that this is not resolved against the document
* base URI.)
- * @exception SAXException The application may raise an
+ * @throws SAXException The application may raise an
* exception.
* @see #endDTD
* @see #startEntity
@@ -711,7 +711,7 @@ public class XMLOutput implements Conten
* DOCTYPE declaration; if the document has no DOCTYPE declaration,
* this method will not be invoked.</p>
*
- * @exception SAXException The application may raise an exception.
+ * @throws SAXException The application may raise an exception.
* @see #startDTD
*/
public void endDTD() throws SAXException {
@@ -764,7 +764,7 @@ public class XMLOutput implements Conten
* @param name The name of the entity. If it is a parameter
* entity, the name will begin with '%', and if it is the
* external DTD subset, it will be "[dtd]".
- * @exception SAXException The application may raise an exception.
+ * @throws SAXException The application may raise an exception.
* @see #endEntity
* @see org.xml.sax.ext.DeclHandler#internalEntityDecl
* @see org.xml.sax.ext.DeclHandler#externalEntityDecl
@@ -779,7 +779,7 @@ public class XMLOutput implements Conten
* Report the end of an entity.
*
* @param name The name of the entity that is ending.
- * @exception SAXException The application may raise an exception.
+ * @throws SAXException The application may raise an exception.
* @see #startEntity
*/
public void endEntity(String name) throws SAXException {
@@ -796,7 +796,7 @@ public class XMLOutput implements Conten
* characters} event; this event is intended only to report
* the boundary.</p>
*
- * @exception SAXException The application may raise an exception.
+ * @throws SAXException The application may raise an exception.
* @see #endCDATA
*/
public void startCDATA() throws SAXException {
@@ -808,7 +808,7 @@ public class XMLOutput implements Conten
/**
* Report the end of a CDATA section.
*
- * @exception SAXException The application may raise an exception.
+ * @throws SAXException The application may raise an exception.
* @see #startCDATA
*/
public void endCDATA() throws SAXException {
@@ -829,7 +829,7 @@ public class XMLOutput implements Conten
* @param ch An array holding the characters in the comment.
* @param start The starting position in the array.
* @param length The number of characters to use from the array.
- * @exception SAXException The application may raise an exception.
+ * @throws SAXException The application may raise an exception.
*/
public void comment(char ch[], int start, int length) throws SAXException {
if (lexicalHandler != null) {
@@ -843,7 +843,7 @@ public class XMLOutput implements Conten
* pass data to their parent.
*
* @param object the data to pass
- * @exception SAXException The application may raise an exception.
+ * @throws SAXException The application may raise an exception.
*/
public void objectData(Object object) throws SAXException {
if(contentHandler instanceof XMLOutput)
Modified: commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/DefaultNamespaceFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/DefaultNamespaceFilter.java?rev=1747115&r1=1747114&r2=1747115&view=diff
==============================================================================
--- commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/DefaultNamespaceFilter.java (original)
+++ commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/DefaultNamespaceFilter.java Tue Jun 7 02:19:33 2016
@@ -49,7 +49,7 @@ public class DefaultNamespaceFilter exte
*
* @param prefix incoming prefix
* @param uri URI to check and potentially replace
- * @exception SAXException
+ * @throws SAXException
*/
public void startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
@@ -69,7 +69,7 @@ public class DefaultNamespaceFilter exte
* @param localName
* @param qName
* @param atts
- * @exception SAXException
+ * @throws SAXException
*/
public void startElement(java.lang.String uri,
java.lang.String localName,
@@ -92,7 +92,7 @@ public class DefaultNamespaceFilter exte
* URI to check and potentially replace
* @param localName
* @param qName
- * @exception SAXException
+ * @throws SAXException
*/
public void endElement(String namespaceURI, String localName, String qName)
throws SAXException {
Modified: commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/XMLParser.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/XMLParser.java?rev=1747115&r1=1747114&r2=1747115&view=diff
==============================================================================
--- commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/XMLParser.java (original)
+++ commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/XMLParser.java Tue Jun 7 02:19:33 2016
@@ -214,8 +214,8 @@ public class XMLParser extends DefaultHa
*
* @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
*/
public Script parse(File file) throws IOException, SAXException {
return parse(file.toURL());
@@ -227,8 +227,8 @@ public class XMLParser extends DefaultHa
*
* @param url URL 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
*/
public Script parse(URL url) throws IOException, SAXException {
ensureConfigured();
@@ -246,8 +246,8 @@ public class XMLParser extends DefaultHa
*
* @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
*/
public Script parse(InputSource input) throws IOException, SAXException {
ensureConfigured();
@@ -265,9 +265,9 @@ public class XMLParser extends DefaultHa
*
* @param input Input stream containing the XML data to be parsed
* @return
- * @exception IOException
+ * @throws IOException
* if an input/output error occurs
- * @exception SAXException
+ * @throws SAXException
* if a parsing exception occurs
*/
public Script parse(InputStream input) throws IOException, SAXException {
@@ -286,9 +286,9 @@ public class XMLParser extends DefaultHa
*
* @param reader Reader containing the XML data to be parsed
* @return
- * @exception IOException
+ * @throws IOException
* if an input/output error occurs
- * @exception SAXException
+ * @throws SAXException
* if a parsing exception occurs
*/
public Script parse(Reader reader) throws IOException, SAXException {
@@ -304,8 +304,8 @@ public class XMLParser extends DefaultHa
*
* @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
*/
public Script parse(String uri) throws IOException, SAXException {
ensureConfigured();
@@ -541,7 +541,7 @@ public class XMLParser extends DefaultHa
/**
* Return the XMLReader to be used for parsing the input document.
*
- * @exception SAXException if no XMLReader can be instantiated
+ * @throws SAXException if no XMLReader can be instantiated
*/
public synchronized XMLReader getXMLReader() throws SAXException {
if (reader == null) {
@@ -594,7 +594,7 @@ public class XMLParser extends DefaultHa
/**
* Process notification of the beginning of the document being reached.
*
- * @exception SAXException if a parsing error is to be reported
+ * @throws SAXException if a parsing error is to be reported
*/
public void startDocument() throws SAXException {
script = new ScriptBlock();
@@ -607,7 +607,7 @@ public class XMLParser extends DefaultHa
/**
* Process notification of the end of the document being reached.
*
- * @exception SAXException if a parsing error is to be reported
+ * @throws SAXException if a parsing error is to be reported
*/
public void endDocument() throws SAXException {
textBuffer = null;
@@ -625,7 +625,7 @@ public class XMLParser extends DefaultHa
* 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
*/
public void startElement(
String namespaceURI,
@@ -702,7 +702,7 @@ public class XMLParser extends DefaultHa
* @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
*/
public void characters(char buffer[], int start, int length)
throws SAXException {
@@ -719,7 +719,7 @@ public class XMLParser extends DefaultHa
* 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
*/
public void endElement(String namespaceURI, String localName, String qName)
throws SAXException {
@@ -757,7 +757,7 @@ public class XMLParser extends DefaultHa
* @param prefix Prefix that is being declared
* @param namespaceURI Corresponding namespace URI being mapped to
*
- * @exception SAXException if a parsing error is to be reported
+ * @throws SAXException if a parsing error is to be reported
*/
public void startPrefixMapping(String prefix, String namespaceURI)
throws SAXException {
@@ -780,7 +780,7 @@ public class XMLParser extends DefaultHa
*
* @param prefix Prefix that is going out of scope
*
- * @exception SAXException if a parsing error is to be reported
+ * @throws SAXException if a parsing error is to be reported
*/
public void endPrefixMapping(String prefix) throws SAXException {
// Deregister this prefix mapping
@@ -807,7 +807,7 @@ public class XMLParser extends DefaultHa
* @param start Starting offset into the buffer
* @param len 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
*/
public void ignorableWhitespace(char buffer[], int start, int len)
throws SAXException {
@@ -820,7 +820,7 @@ public class XMLParser extends DefaultHa
* @param target The processing instruction target
* @param data The processing instruction data (if any)
*
- * @exception SAXException if a parsing error is to be reported
+ * @throws SAXException if a parsing error is to be reported
*/
public void processingInstruction(String target, String data)
throws SAXException {
@@ -841,7 +841,7 @@ public class XMLParser extends DefaultHa
*
* @param name Name of the skipped entity
*
- * @exception SAXException if a parsing error is to be reported
+ * @throws SAXException if a parsing error is to be reported
*/
public void skippedEntity(String name) throws SAXException {
; // No processing required
@@ -886,7 +886,7 @@ public class XMLParser extends DefaultHa
*
* @param exception The error information
*
- * @exception SAXException if a parsing exception occurs
+ * @throws SAXException if a parsing exception occurs
*/
public void error(SAXParseException exception) throws SAXException {
log.error(
@@ -910,7 +910,7 @@ public class XMLParser extends DefaultHa
*
* @param exception The fatal error information
*
- * @exception SAXException if a parsing exception occurs
+ * @throws SAXException if a parsing exception occurs
*/
public void fatalError(SAXParseException exception) throws SAXException {
log.error(
@@ -936,7 +936,7 @@ public class XMLParser extends DefaultHa
*
* @param exception The warning information
*
- * @exception SAXException if a parsing exception occurs
+ * @throws SAXException if a parsing exception occurs
*/
public void warning(SAXParseException exception) throws SAXException {
log.error(
Modified: commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/util/CommandLineParser.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/util/CommandLineParser.java?rev=1747115&r1=1747114&r2=1747115&view=diff
==============================================================================
--- commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/util/CommandLineParser.java (original)
+++ commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/util/CommandLineParser.java Tue Jun 7 02:19:33 2016
@@ -61,7 +61,7 @@ public class CommandLineParser {
* the give Jelly instance.
*
* @param args options from the command line
- * @exception JellyException
+ * @throws JellyException
* if the command line could not be parsed
*/
public void invokeCommandLineJelly(String[] args) throws JellyException {