https://issues.apache.org/bugzilla/show_bug.cgi?id=47576
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 30 Jul 2009 18:13:36 +0000 (18:13 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 30 Jul 2009 18:13:36 +0000 (18:13 +0000)
Fix exception name in Javadoc
Patch provided by sebb

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@799396 13f79535-47bb-0310-9956-ffa450edef68

modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/FairBlockingQueue.java
modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/MultiLockFairBlockingQueue.java

index 59adf0f..6dfde42 100644 (file)
@@ -266,7 +266,7 @@ public class FairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public int drainTo(Collection<? super E> c, int maxElements) {
         throw new UnsupportedOperationException("int drainTo(Collection<? super E> c, int maxElements)");
@@ -274,7 +274,7 @@ public class FairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     
     public int drainTo(Collection<? super E> c) {
@@ -316,7 +316,7 @@ public class FairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public void clear() {
         throw new UnsupportedOperationException("void clear()");
@@ -325,7 +325,7 @@ public class FairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public boolean containsAll(Collection<?> c) {
         throw new UnsupportedOperationException("boolean containsAll(Collection<?> c)");
@@ -340,7 +340,7 @@ public class FairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public boolean removeAll(Collection<?> c) {
         throw new UnsupportedOperationException("boolean removeAll(Collection<?> c)");
@@ -348,7 +348,7 @@ public class FairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public boolean retainAll(Collection<?> c) {
         throw new UnsupportedOperationException("boolean retainAll(Collection<?> c)");
@@ -356,7 +356,7 @@ public class FairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public Object[] toArray() {
         throw new UnsupportedOperationException("Object[] toArray()");
@@ -364,7 +364,7 @@ public class FairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public <T> T[] toArray(T[] a) {
         throw new UnsupportedOperationException("<T> T[] toArray(T[] a)");
@@ -372,7 +372,7 @@ public class FairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public E element() {
         throw new UnsupportedOperationException("E element()");
@@ -380,7 +380,7 @@ public class FairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public E peek() {
         throw new UnsupportedOperationException("E peek()");
@@ -388,7 +388,7 @@ public class FairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public E remove() {
         throw new UnsupportedOperationException("E remove()");
index e734437..1ec8064 100644 (file)
@@ -284,7 +284,7 @@ public class MultiLockFairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public int drainTo(Collection<? super E> c, int maxElements) {
         throw new UnsupportedOperationException("int drainTo(Collection<? super E> c, int maxElements)");
@@ -292,7 +292,7 @@ public class MultiLockFairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public int drainTo(Collection<? super E> c) {
         return drainTo(c,Integer.MAX_VALUE);
@@ -333,7 +333,7 @@ public class MultiLockFairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public void clear() {
         throw new UnsupportedOperationException("void clear()");
@@ -342,7 +342,7 @@ public class MultiLockFairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public boolean containsAll(Collection<?> c) {
         throw new UnsupportedOperationException("boolean containsAll(Collection<?> c)");
@@ -357,7 +357,7 @@ public class MultiLockFairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public boolean removeAll(Collection<?> c) {
         throw new UnsupportedOperationException("boolean removeAll(Collection<?> c)");
@@ -365,7 +365,7 @@ public class MultiLockFairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public boolean retainAll(Collection<?> c) {
         throw new UnsupportedOperationException("boolean retainAll(Collection<?> c)");
@@ -373,7 +373,7 @@ public class MultiLockFairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public Object[] toArray() {
         throw new UnsupportedOperationException("Object[] toArray()");
@@ -381,7 +381,7 @@ public class MultiLockFairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public <T> T[] toArray(T[] a) {
         throw new UnsupportedOperationException("<T> T[] toArray(T[] a)");
@@ -389,7 +389,7 @@ public class MultiLockFairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public E element() {
         throw new UnsupportedOperationException("E element()");
@@ -397,7 +397,7 @@ public class MultiLockFairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public E peek() {
         throw new UnsupportedOperationException("E peek()");
@@ -405,7 +405,7 @@ public class MultiLockFairBlockingQueue<E> implements BlockingQueue<E> {
 
     /**
      * {@inheritDoc}
-     * @throws UnsupportedOperation - this operation is not supported
+     * @throws UnsupportedOperationException - this operation is not supported
      */
     public E remove() {
         throw new UnsupportedOperationException("E remove()");