ws-wsrf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r312929 - in /webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties: faults/ResourcePropertyRetrievalFailedFaultException.java impl/AbstractResourcePropertiesPortType.java
Date Tue, 11 Oct 2005 18:06:55 GMT
Author: scamp
Date: Tue Oct 11 11:06:51 2005
New Revision: 312929

URL: http://svn.apache.org/viewcvs?rev=312929&view=rev
Log:
fixed fault, extended wrong class

Modified:
    webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/ResourcePropertyRetrievalFailedFaultException.java
    webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractResourcePropertiesPortType.java

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/ResourcePropertyRetrievalFailedFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/ResourcePropertyRetrievalFailedFaultException.java?rev=312929&r1=312928&r2=312929&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/ResourcePropertyRetrievalFailedFaultException.java
(original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/ResourcePropertyRetrievalFailedFaultException.java
Tue Oct 11 11:06:51 2005
@@ -20,6 +20,9 @@
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
 import org.apache.ws.resource.NamespaceVersionHolder;
 import javax.xml.namespace.QName;
+import javax.xml.soap.Detail;
+
+import org.apache.ws.resource.faults.FaultException;
 
 /**
  * A fault exception to be used when a refresh callback operation fails.
@@ -27,44 +30,18 @@
  * @author Sal Campana
  */
 public class ResourcePropertyRetrievalFailedFaultException
-   extends AbstractBaseFaultException
+   extends FaultException
 {
-   /** DOCUMENT_ME */
-   QName m_name;
-
-   /**
-    * Creates a new {@link ResourcePropertyRetrievalFailedFaultException} object.
-    *
-    * @param namespaceSet DOCUMENT_ME
-    * @param faultString DOCUMENT_ME
-    * @param faultCode DOCUMENT_ME
-    */
-   public ResourcePropertyRetrievalFailedFaultException( NamespaceVersionHolder namespaceSet,
-                                                         String                 faultString,
-                                                         QName                  faultCode
)
-   {
-      super( namespaceSet, faultString, faultCode );
-   }
 
-   /**
-    * Creates a new {@link ResourcePropertyRetrievalFailedFaultException} object.
-    *
-    * @param namespaceSet DOCUMENT_ME
-    * @param faultString DOCUMENT_ME
-    */
-   public ResourcePropertyRetrievalFailedFaultException( NamespaceVersionHolder namespaceSet,
-                                                         String                 faultString
)
-   {
-      super( namespaceSet, faultString );
-   }
+    /**
+     * Creates a new {@link FaultException} object.
+     *
+     * @param faultCode   DOCUMENT_ME
+     * @param faultString DOCUMENT_ME
+     */
+    public ResourcePropertyRetrievalFailedFaultException(QName faultCode, String faultString)
+    {
+        super(faultCode, faultString);
+    }
 
-   /**
-    * DOCUMENT_ME
-    *
-    * @return DOCUMENT_ME
-    */
-   public QName getBaseFaultName(  )
-   {
-      return new QName( NamespaceConstants.NSURI_APACHE_WS_RESOURCE, "ResourcePropertyRetrievalFailedFault"
);
-   }
 }

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractResourcePropertiesPortType.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractResourcePropertiesPortType.java?rev=312929&r1=312928&r2=312929&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractResourcePropertiesPortType.java
(original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractResourcePropertiesPortType.java
Tue Oct 11 11:06:51 2005
@@ -95,9 +95,7 @@
          catch ( Exception e )
          {
             LOG.debug( "Refresh Callback Failed", e );
-            throw new ResourcePropertyRetrievalFailedFaultException( getResource().getNamespaceSet(
 ),
-                                                                     e.getLocalizedMessage(
 ),
-                                                                     Soap1_1Constants.FAULT_SERVER
);
+            throw new ResourcePropertyRetrievalFailedFaultException( Soap1_1Constants.FAULT_SERVER
, e.getLocalizedMessage(  ));
          }
       }
    }



Mime
View raw message