Author: jkaputin
Date: Fri Jan  6 04:00:26 2006
New Revision: 366486

URL: http://svn.apache.org/viewcvs?rev=366486&view=rev
Log:
Removed throws clause for a RuntimeException, 
IllegalArgumentException, from the set/getFeature and
set/getProperty method signatures, but left the @throws
statements in the Javadoc comments. 

Modified:
    incubator/woden/java/src/org/apache/woden/WSDLReader.java
    incubator/woden/java/src/org/apache/woden/internal/BaseWSDLReader.java

Modified: incubator/woden/java/src/org/apache/woden/WSDLReader.java
URL: 
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/WSDLReader.java?rev=366486&r1=366485&r2=366486&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/WSDLReader.java (original)
+++ incubator/woden/java/src/org/apache/woden/WSDLReader.java Fri Jan  6 
04:00:26 2006
@@ -162,7 +162,7 @@
      * @param value a boolean value where true sets the feature on, false sets 
it off
      * @throws IllegalArgumentException if the feature name is not recognized.
      */
-    public void setFeature(String name, boolean value) throws 
IllegalArgumentException;
+    public void setFeature(String name, boolean value);
     
     /**
      * Returns the on/off setting of the named feature, represented as a 
boolean. 
@@ -171,7 +171,7 @@
      * @return a boolean representing the on/off state of the named feature
      * @throws IllegalArgumentException if the feature name is not recognized.
      */
-    public boolean getFeature(String name) throws IllegalArgumentException;
+    public boolean getFeature(String name);
     
     
     /**
@@ -190,7 +190,7 @@
      * @param value an Object representing the value to set the property to
      * @throws IllegalArgumentException if the property name is not recognized.
      */
-    public void setProperty(String name, Object value) throws 
IllegalArgumentException;
+    public void setProperty(String name, Object value);
     
     /**
      * Returns the value of the named property.
@@ -199,6 +199,6 @@
      * @return an Object representing the property's value
      * @throws IllegalArgumentException if the property name is not recognized.
      */
-    public Object getProperty(String feature) throws IllegalArgumentException;
+    public Object getProperty(String feature);
     
 }

Modified: incubator/woden/java/src/org/apache/woden/internal/BaseWSDLReader.java
URL: 
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/internal/BaseWSDLReader.java?rev=366486&r1=366485&r2=366486&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/internal/BaseWSDLReader.java 
(original)
+++ incubator/woden/java/src/org/apache/woden/internal/BaseWSDLReader.java Fri 
Jan  6 04:00:26 2006
@@ -187,7 +187,6 @@
      * @throws IllegalArgumentException if the property name is not recognized.
      */
     public void setProperty(String name, Object value) 
-    throws IllegalArgumentException
     {
         if(name == null) 
         {
@@ -216,7 +215,7 @@
      * @return an Object representing the property's value
      * @throws IllegalArgumentException if the property name is not recognized.
      */
-    public Object getProperty(String name) throws IllegalArgumentException
+    public Object getProperty(String name)
     {
         if(name == null) 
         {



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to