Update old school @exception with new school @throws.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/validator/trunk@1747121 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/test/java/org/apache/commons/validator/LocaleTest.java b/src/test/java/org/apache/commons/validator/LocaleTest.java
index 31708a9..95c933a 100644
--- a/src/test/java/org/apache/commons/validator/LocaleTest.java
+++ b/src/test/java/org/apache/commons/validator/LocaleTest.java
@@ -48,8 +48,8 @@
/**
* Load <code>ValidatorResources</code> from validator-locale.xml.
*
- * @exception IOException If something goes wrong
- * @exception SAXException If something goes wrong
+ * @throws IOException If something goes wrong
+ * @throws SAXException If something goes wrong
*/
@Override
protected void setUp()
@@ -67,7 +67,7 @@
* See what happens when we try to validate with a Locale, Country and
* variant. Also check if the added locale validation field is getting used.
*
- * @exception ValidatorException If something goes wrong
+ * @throws ValidatorException If something goes wrong
*/
public void testLocale1()
throws ValidatorException {
@@ -83,7 +83,7 @@
* See what happens when we try to validate with a Locale, Country and
* variant
*
- * @exception ValidatorException If something goes wrong
+ * @throws ValidatorException If something goes wrong
*/
public void testLocale2()
throws ValidatorException {
@@ -99,7 +99,7 @@
* See what happens when we try to validate with a Locale, Country and
* variant
*
- * @exception ValidatorException If something goes wrong
+ * @throws ValidatorException If something goes wrong
*/
public void testLocale3()
throws ValidatorException {
@@ -116,7 +116,7 @@
* set. Bug #16920 states that this isn't happening, even though it is
* passing this test. see #16920.
*
- * @exception ValidatorException If something goes wrong
+ * @throws ValidatorException If something goes wrong
*/
public void testLocale4()
throws ValidatorException {
@@ -131,7 +131,7 @@
/**
* See if a locale of language=en falls back to default form set.
*
- * @exception ValidatorException If something goes wrong
+ * @throws ValidatorException If something goes wrong
*/
public void testLocale5()
throws ValidatorException {
@@ -151,7 +151,7 @@
* @param firstGood param
* @param lastGood param
* @param middleGood param
- * @exception ValidatorException If something goes wrong
+ * @throws ValidatorException If something goes wrong
*/
private void valueTest(Object name, Locale loc, boolean firstGood, boolean lastGood, boolean middleGood)
throws ValidatorException {