You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ch...@apache.org on 2005/07/27 10:08:21 UTC

svn commit: r225478 [3/4] - in /webservices/axis/trunk/java/modules: addressing/src/org/apache/axis2/handlers/addressing/ addressing/test/org/apache/axis2/handlers/addressing/ common/src/org/apache/axis2/ common/src/org/apache/axis2/i18n/ core/src/org/...

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java Wed Jul 27 00:57:39 2005
@@ -15,13 +15,13 @@
 */
 package org.apache.axis2.transport.http;
 
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.Constants;
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.ConfigurationContextFactory;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.context.SessionContext;
 import org.apache.axis2.engine.AxisEngine;
-import org.apache.axis2.engine.AxisFault;
 
 import javax.servlet.ServletConfig;
 import javax.servlet.ServletContext;
@@ -56,12 +56,11 @@
             ServletContext context = config.getServletContext();
             String repoDir = context.getRealPath("/WEB-INF");
             ConfigurationContextFactory erfac =
-                new ConfigurationContextFactory();
+                    new ConfigurationContextFactory();
             configContext =
-                erfac.buildConfigurationContext(repoDir);
-            configContext.setProperty(
-                Constants.CONTAINER_MANAGED,
-                Constants.VALUE_TRUE);
+                    erfac.buildConfigurationContext(repoDir);
+            configContext.setProperty(Constants.CONTAINER_MANAGED,
+                    Constants.VALUE_TRUE);
             configContext.setRootDir(new File(context.getRealPath("/WEB-INF")));
             lister = new ListingAgent(configContext);
             context.setAttribute(CONFIGURATION_CONTEXT, configContext);
@@ -78,22 +77,19 @@
      * @throws ServletException
      * @throws IOException
      */
-    protected void doGet(
-        HttpServletRequest httpServletRequest,
-        HttpServletResponse httpServletResponse)
-        throws ServletException, IOException {
+    protected void doGet(HttpServletRequest httpServletRequest,
+                         HttpServletResponse httpServletResponse)
+            throws ServletException, IOException {
         httpServletResponse.setContentType("text/xml; charset=utf-8");
         MessageContext msgContext = null;
         OutputStream out = null;
         try {
             Object sessionContext =
-                httpServletRequest.getSession().getAttribute(
-                    Constants.SESSION_CONTEXT_PROPERTY);
+                    httpServletRequest.getSession().getAttribute(Constants.SESSION_CONTEXT_PROPERTY);
             if (sessionContext == null) {
                 sessionContext = new SessionContext(null);
-                httpServletRequest.getSession().setAttribute(
-                    Constants.SESSION_CONTEXT_PROPERTY,
-                    sessionContext);
+                httpServletRequest.getSession().setAttribute(Constants.SESSION_CONTEXT_PROPERTY,
+                        sessionContext);
             }
 
             Enumeration enu = httpServletRequest.getParameterNames();
@@ -105,41 +101,35 @@
             }
 
             msgContext =
-                new MessageContext(
-                    configContext,
-                    (SessionContext) sessionContext,
-                    configContext.getAxisConfiguration().getTransportIn(
-                        new QName(Constants.TRANSPORT_HTTP)),
-                    configContext.getAxisConfiguration().getTransportOut(
-                        new QName(Constants.TRANSPORT_HTTP)));
+                    new MessageContext(configContext,
+                            (SessionContext) sessionContext,
+                            configContext.getAxisConfiguration().getTransportIn(new QName(Constants.TRANSPORT_HTTP)),
+                            configContext.getAxisConfiguration().getTransportOut(new QName(Constants.TRANSPORT_HTTP)));
             msgContext.setDoingREST(true);
             msgContext.setServerSide(true);
-            msgContext.setProperty(
-                HTTPConstants.HTTPOutTransportInfo,
-                new ServletBasedOutTransportInfo(httpServletResponse));
-            msgContext.setProperty(MessageContext.TRANSPORT_HEADERS,getTransportHeaders(httpServletRequest));    
-                
+            msgContext.setProperty(HTTPConstants.HTTPOutTransportInfo,
+                    new ServletBasedOutTransportInfo(httpServletResponse));
+            msgContext.setProperty(MessageContext.TRANSPORT_HEADERS, getTransportHeaders(httpServletRequest));
+
             out = httpServletResponse.getOutputStream();
             boolean processed =
-                HTTPTransportUtils.processHTTPGetRequest(
-                    msgContext,
-                    httpServletRequest.getInputStream(),
-                    out,
-                    httpServletRequest.getContentType(),
-                    httpServletRequest.getHeader(
-                        HTTPConstants.HEADER_SOAP_ACTION),
-                    httpServletRequest.getRequestURL().toString(),
-                    configContext,
-                    map);
+                    HTTPTransportUtils.processHTTPGetRequest(msgContext,
+                            httpServletRequest.getInputStream(),
+                            out,
+                            httpServletRequest.getContentType(),
+                            httpServletRequest.getHeader(HTTPConstants.HEADER_SOAP_ACTION),
+                            httpServletRequest.getRequestURL().toString(),
+                            configContext,
+                            map);
             if (!processed) {
                 lister.handle(httpServletRequest, httpServletResponse, out);
             }
-        } catch (Exception e) {
+        } catch (AxisFault e) {
             if (msgContext != null) {
                 msgContext.setProperty(MessageContext.TRANSPORT_OUT, out);
                 AxisEngine engine = new AxisEngine(configContext);
                 MessageContext faultContext =
-                    engine.createFaultMessageContext(msgContext, e);
+                        engine.createFaultMessageContext(msgContext, e);
                 engine.sendFault(faultContext);
             } else {
                 throw new ServletException(e);
@@ -162,55 +152,46 @@
      * @throws IOException
      */
     protected void doPost(HttpServletRequest req, HttpServletResponse res)
-        throws ServletException, IOException {
+            throws ServletException, IOException {
         MessageContext msgContext = null;
         try {
             Object sessionContext =
-                req.getSession().getAttribute(
-                    Constants.SESSION_CONTEXT_PROPERTY);
+                    req.getSession().getAttribute(Constants.SESSION_CONTEXT_PROPERTY);
             if (sessionContext == null) {
                 sessionContext = new SessionContext(null);
-                req.getSession().setAttribute(
-                    Constants.SESSION_CONTEXT_PROPERTY,
-                    sessionContext);
+                req.getSession().setAttribute(Constants.SESSION_CONTEXT_PROPERTY,
+                        sessionContext);
             }
             msgContext =
-                new MessageContext(
-                    configContext,
-                    (SessionContext) sessionContext,
-                    configContext.getAxisConfiguration().getTransportIn(
-                        new QName(Constants.TRANSPORT_HTTP)),
-                    configContext.getAxisConfiguration().getTransportOut(
-                        new QName(Constants.TRANSPORT_HTTP)));
-            msgContext.setProperty(
-                HTTPConstants.HTTPOutTransportInfo,
-                new ServletBasedOutTransportInfo(res));
-            msgContext.setProperty(MessageContext.TRANSPORT_HEADERS,getTransportHeaders(req));
-                
+                    new MessageContext(configContext,
+                            (SessionContext) sessionContext,
+                            configContext.getAxisConfiguration().getTransportIn(new QName(Constants.TRANSPORT_HTTP)),
+                            configContext.getAxisConfiguration().getTransportOut(new QName(Constants.TRANSPORT_HTTP)));
+            msgContext.setProperty(HTTPConstants.HTTPOutTransportInfo,
+                    new ServletBasedOutTransportInfo(res));
+            msgContext.setProperty(MessageContext.TRANSPORT_HEADERS, getTransportHeaders(req));
+
             res.setContentType("text/xml; charset=utf-8");
-            HTTPTransportUtils.processHTTPPostRequest(
-                msgContext,
-                req.getInputStream(),
-                res.getOutputStream(),
-                req.getContentType(),
-                req.getHeader(HTTPConstants.HEADER_SOAP_ACTION),
-                req.getRequestURL().toString(),
-                configContext);
+            HTTPTransportUtils.processHTTPPostRequest(msgContext,
+                    req.getInputStream(),
+                    res.getOutputStream(),
+                    req.getContentType(),
+                    req.getHeader(HTTPConstants.HEADER_SOAP_ACTION),
+                    req.getRequestURL().toString(),
+                    configContext);
             Object contextWritten =
-                msgContext.getOperationContext().getProperty(
-                    Constants.RESPONSE_WRITTEN);
+                    msgContext.getOperationContext().getProperty(Constants.RESPONSE_WRITTEN);
             if (contextWritten == null
-                || !Constants.VALUE_TRUE.equals(contextWritten)) {
+                    || !Constants.VALUE_TRUE.equals(contextWritten)) {
                 res.setStatus(HttpServletResponse.SC_ACCEPTED);
             }
         } catch (AxisFault e) {
             if (msgContext != null) {
-                msgContext.setProperty(
-                    MessageContext.TRANSPORT_OUT,
-                    res.getOutputStream());
+                msgContext.setProperty(MessageContext.TRANSPORT_OUT,
+                        res.getOutputStream());
                 AxisEngine engine = new AxisEngine(configContext);
                 MessageContext faultContext =
-                    engine.createFaultMessageContext(msgContext, e);
+                        engine.createFaultMessageContext(msgContext, e);
                 engine.sendFault(faultContext);
             } else {
                 throw new ServletException(e);

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java Wed Jul 27 00:57:39 2005
@@ -17,6 +17,7 @@
 package org.apache.axis2.transport.http;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.context.ConfigurationContext;
@@ -24,7 +25,6 @@
 import org.apache.axis2.context.OperationContext;
 import org.apache.axis2.description.Parameter;
 import org.apache.axis2.description.TransportOutDescription;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.axis2.i18n.Messages;
 import org.apache.axis2.om.OMElement;
@@ -194,7 +194,7 @@
             }
         }
 
-        public void writeRequest(OutputStream out) throws IOException {
+        public void writeRequest(OutputStream out) throws IOException{
             try {
                 if (chuncked || doingMTOM) {
                     omOutput.setOutputStream(out, doingMTOM);
@@ -213,7 +213,7 @@
                 throw new AxisFault(e);
             } catch (IOException e) {
                 throw new AxisFault(e);
-            }
+            } 
         }
 
         public long getContentLength() {

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportReceiver.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportReceiver.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportReceiver.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportReceiver.java Wed Jul 27 00:57:39 2005
@@ -18,8 +18,8 @@
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.description.OperationDescription;
 import org.apache.axis2.description.ServiceDescription;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.i18n.Messages;
+import org.apache.axis2.AxisFault;
 
 import java.io.IOException;
 import java.io.InputStream;
@@ -214,7 +214,7 @@
      *
      * @param terminal
      * @return
-     * @throws AxisFault
+     * @throws org.apache.axis2.AxisFault
      */
     private String readFirstLineArg(char terminal) throws AxisFault {
         StringBuffer str = new StringBuffer();

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportSender.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportSender.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportSender.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportSender.java Wed Jul 27 00:57:39 2005
@@ -21,11 +21,11 @@
 import org.apache.axis2.context.OperationContext;
 import org.apache.axis2.description.Parameter;
 import org.apache.axis2.description.TransportOutDescription;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.i18n.Messages;
 import org.apache.axis2.soap.impl.llom.soap11.SOAP11Constants;
 import org.apache.axis2.soap.impl.llom.soap12.SOAP12Constants;
 import org.apache.axis2.transport.AbstractTransportSender;
+import org.apache.axis2.AxisFault;
 
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java Wed Jul 27 00:57:39 2005
@@ -17,6 +17,7 @@
  */
 package org.apache.axis2.transport.http;
 
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.Constants;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
@@ -24,12 +25,7 @@
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.engine.AxisEngine;
-import org.apache.axis2.engine.AxisFault;
-import org.apache.axis2.om.OMElement;
-import org.apache.axis2.om.OMException;
-import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.om.OMNode;
-import org.apache.axis2.om.OMText;
+import org.apache.axis2.om.*;
 import org.apache.axis2.om.impl.llom.OMNamespaceImpl;
 import org.apache.axis2.om.impl.llom.builder.StAXBuilder;
 import org.apache.axis2.om.impl.llom.builder.StAXOMBuilder;
@@ -47,26 +43,20 @@
 import javax.xml.stream.XMLInputFactory;
 import javax.xml.stream.XMLStreamException;
 import javax.xml.stream.XMLStreamReader;
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.OutputStream;
-import java.io.Reader;
+import java.io.*;
 import java.util.Iterator;
 import java.util.Map;
 
 public class HTTPTransportUtils {
 
-    public static void processHTTPPostRequest(
-        MessageContext msgContext,
-        InputStream in,
-        OutputStream out,
-        String contentType,
-        String soapActionHeader,
-        String requestURI,
-        ConfigurationContext configurationContext)
-        throws AxisFault {
+    public static void processHTTPPostRequest(MessageContext msgContext,
+                                              InputStream in,
+                                              OutputStream out,
+                                              String contentType,
+                                              String soapActionHeader,
+                                              String requestURI,
+                                              ConfigurationContext configurationContext)
+            throws AxisFault {
         try {
 
 
@@ -92,7 +82,7 @@
                 } else {
                     Reader reader = new InputStreamReader(in);
                     XMLStreamReader xmlreader =
-                        XMLInputFactory.newInstance().createXMLStreamReader(reader);
+                            XMLInputFactory.newInstance().createXMLStreamReader(reader);
                     if (contentType.indexOf(SOAP12Constants.SOAP_12_CONTENT_TYPE) > -1) {
                         //it is SOAP 1.2
                         builder = new StAXSOAPModelBuilder(xmlreader, SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
@@ -101,7 +91,7 @@
                         //it is SOAP 1.1
                         Object enable = msgContext.getProperty(Constants.Configuration.ENABLE_REST);
                         if ((soapActionHeader == null || soapActionHeader.length() == 0)
-                            && Constants.VALUE_TRUE.equals(enable)) {
+                                && Constants.VALUE_TRUE.equals(enable)) {
                             //If the content Type is text/xml (BTW which is the SOAP 1.1 Content type ) and
                             //the SOAP Action is absent it is rest !!
                             msgContext.setDoingREST(true);
@@ -110,7 +100,7 @@
                             builder.setOmbuilderFactory(soapFactory);
                             envelope = soapFactory.getDefaultEnvelope();
                             envelope.getBody().addChild(builder.getDocumentElement());
-                        }else{
+                        } else {
                             builder = new StAXSOAPModelBuilder(xmlreader, SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
                             envelope = (SOAPEnvelope) builder.getDocumentElement();
                         }
@@ -137,16 +127,15 @@
         }
     }
 
-    public static boolean processHTTPGetRequest(
-        MessageContext msgContext,
-        InputStream in,
-        OutputStream out,
-        String contentType,
-        String soapAction,
-        String requestURI,
-        ConfigurationContext configurationContext,
-        Map requestParameters)
-        throws AxisFault {
+    public static boolean processHTTPGetRequest(MessageContext msgContext,
+                                                InputStream in,
+                                                OutputStream out,
+                                                String contentType,
+                                                String soapAction,
+                                                String requestURI,
+                                                ConfigurationContext configurationContext,
+                                                Map requestParameters)
+            throws AxisFault {
         if (soapAction != null && soapAction.startsWith("\"") && soapAction.endsWith("\"")) {
             soapAction = soapAction.substring(1, soapAction.length() - 1);
         }
@@ -155,20 +144,16 @@
         msgContext.setTo(new EndpointReference(AddressingConstants.WSA_TO, requestURI));
         msgContext.setProperty(MessageContext.TRANSPORT_OUT, out);
         msgContext.setServerSide(true);
-        try {
-            SOAPEnvelope envelope =
+        SOAPEnvelope envelope =
                 HTTPTransportUtils.createEnvelopeFromGetRequest(requestURI, requestParameters);
-            if (envelope == null) {
-                return false;
-            } else {
-                msgContext.setDoingREST(true);
-                msgContext.setEnvelope(envelope);
-                AxisEngine engine = new AxisEngine(configurationContext);
-                engine.receive(msgContext);
-                return true;
-            }
-        } catch (IOException e) {
-            throw new AxisFault(e);
+        if (envelope == null) {
+            return false;
+        } else {
+            msgContext.setDoingREST(true);
+            msgContext.setEnvelope(envelope);
+            AxisEngine engine = new AxisEngine(configurationContext);
+            engine.receive(msgContext);
+            return true;
         }
     }
 
@@ -201,28 +186,26 @@
         }
     }
 
-    public static StAXBuilder selectBuilderForMIME(
-        MessageContext msgContext,
-        InputStream inStream,
-        String contentTypeString)
-        throws OMException, XMLStreamException, FactoryConfigurationError {
+    public static StAXBuilder selectBuilderForMIME(MessageContext msgContext,
+                                                   InputStream inStream,
+                                                   String contentTypeString)
+            throws OMException, XMLStreamException, FactoryConfigurationError {
         StAXBuilder builder = null;
 
         boolean fileCacheForAttachments =
-            (Constants
+                (Constants
                 .VALUE_TRUE
                 .equals(msgContext.getProperty(Constants.Configuration.CACHE_ATTACHMENTS)));
         String attachmentRepoDir = null;
         if (fileCacheForAttachments) {
             attachmentRepoDir =
-                (String) msgContext.getProperty(Constants.Configuration.ATTACHMENT_TEMP_DIR);
+                    (String) msgContext.getProperty(Constants.Configuration.ATTACHMENT_TEMP_DIR);
         }
 
         MIMEHelper mimeHelper =
-            new MIMEHelper(inStream, contentTypeString, fileCacheForAttachments, attachmentRepoDir);
+                new MIMEHelper(inStream, contentTypeString, fileCacheForAttachments, attachmentRepoDir);
         XMLStreamReader reader =
-            XMLInputFactory.newInstance().createXMLStreamReader(
-                new BufferedReader(new InputStreamReader(mimeHelper.getSOAPPartInputStream())));
+                XMLInputFactory.newInstance().createXMLStreamReader(new BufferedReader(new InputStreamReader(mimeHelper.getSOAPPartInputStream())));
 
         /*
          * put a reference to Attachments in to the message context
@@ -235,7 +218,7 @@
             builder = new MTOMStAXSOAPModelBuilder(reader, mimeHelper, SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
         } else if (mimeHelper.getAttachmentSpecType().equals(MIMEHelper.SWA_TYPE)) {
             builder = new StAXSOAPModelBuilder(reader, SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
-        } 
+        }
         return builder;
     }
 
@@ -261,11 +244,10 @@
         boolean enableMTOM = false;
         if (msgContext.getProperty(Constants.Configuration.ENABLE_MTOM) != null) {
             enableMTOM =
-                Constants.VALUE_TRUE.equals(
-                    msgContext.getProperty(Constants.Configuration.ENABLE_MTOM));
+                    Constants.VALUE_TRUE.equals(msgContext.getProperty(Constants.Configuration.ENABLE_MTOM));
         }
         boolean envelopeContainsOptimise =
-            HTTPTransportUtils.checkEnvelopeForOptimise(msgContext.getEnvelope());
+                HTTPTransportUtils.checkEnvelopeForOptimise(msgContext.getEnvelope());
         boolean doMTOM = enableMTOM && envelopeContainsOptimise;
         msgContext.setDoingMTOM(doMTOM);
         return doMTOM;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java Wed Jul 27 00:57:39 2005
@@ -18,11 +18,11 @@
 package org.apache.axis2.transport.http;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.description.TransportOutDescription;
 import org.apache.axis2.engine.AxisEngine;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.i18n.Messages;
 import org.apache.axis2.util.threadpool.AxisWorker;
 import org.apache.commons.logging.Log;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java Wed Jul 27 00:57:39 2005
@@ -18,12 +18,12 @@
 package org.apache.axis2.transport.http;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.deployment.util.PhasesInfo;
 import org.apache.axis2.description.OperationDescription;
 import org.apache.axis2.description.ServiceDescription;
 import org.apache.axis2.engine.AxisConfigurationImpl;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.i18n.Messages;
 
 import javax.servlet.http.HttpServletRequest;
@@ -194,7 +194,7 @@
         res.sendRedirect(SELECT_SERVICE_JSP_NAME);
     }
 
-    private void adminLogging(HttpServletRequest req, HttpServletResponse res) throws IOException {
+    private void adminLogging(HttpServletRequest req, HttpServletResponse res) throws AxisFault, IOException {
         String username = req.getParameter("userName");
         String password = req.getParameter("password");
         if (username == null

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPOutputStream.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPOutputStream.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPOutputStream.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPOutputStream.java Wed Jul 27 00:57:39 2005
@@ -17,7 +17,7 @@
  */
 package org.apache.axis2.transport.http;
 
-import org.apache.axis2.engine.AxisFault;
+import org.apache.axis2.AxisFault;
 
 import java.io.FilterOutputStream;
 import java.io.IOException;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java Wed Jul 27 00:57:39 2005
@@ -22,8 +22,8 @@
 import org.apache.axis2.context.ConfigurationContextFactory;
 import org.apache.axis2.description.Parameter;
 import org.apache.axis2.description.TransportInDescription;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.transport.TransportListener;
+import org.apache.axis2.AxisFault;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
@@ -129,7 +129,7 @@
                             new HTTPWorker(configurationContext, socket));
                 }
             }
-        } catch (IOException e) {
+        } catch (AxisFault e) {
             log.error(e);
         }
         stop();

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/local/LocalTransportReceiver.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/local/LocalTransportReceiver.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/local/LocalTransportReceiver.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/local/LocalTransportReceiver.java Wed Jul 27 00:57:39 2005
@@ -18,13 +18,13 @@
 package org.apache.axis2.transport.local;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.description.TransportInDescription;
 import org.apache.axis2.description.TransportOutDescription;
 import org.apache.axis2.engine.AxisEngine;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.om.impl.llom.builder.StAXBuilder;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.impl.llom.builder.StAXSOAPModelBuilder;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/local/LocalTransportSender.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/local/LocalTransportSender.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/local/LocalTransportSender.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/local/LocalTransportSender.java Wed Jul 27 00:57:39 2005
@@ -19,8 +19,8 @@
 
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.transport.AbstractTransportSender;
+import org.apache.axis2.AxisFault;
 
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/EMailSender.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/EMailSender.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/EMailSender.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/EMailSender.java Wed Jul 27 00:57:39 2005
@@ -17,8 +17,8 @@
  */
 package org.apache.axis2.transport.mail;
 
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.transport.EmailReceiver;
+import org.apache.axis2.AxisFault;
 
 import javax.mail.Authenticator;
 import javax.mail.Flags;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailTransportSender.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailTransportSender.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailTransportSender.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailTransportSender.java Wed Jul 27 00:57:39 2005
@@ -19,10 +19,10 @@
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.description.TransportOutDescription;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.i18n.Messages;
 import org.apache.axis2.transport.AbstractTransportSender;
 import org.apache.axis2.util.Utils;
+import org.apache.axis2.AxisFault;
 
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailWorker.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailWorker.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailWorker.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailWorker.java Wed Jul 27 00:57:39 2005
@@ -17,6 +17,7 @@
 package org.apache.axis2.transport.mail;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.context.ConfigurationContext;
@@ -24,7 +25,6 @@
 import org.apache.axis2.description.TransportInDescription;
 import org.apache.axis2.description.TransportOutDescription;
 import org.apache.axis2.engine.AxisEngine;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.i18n.Messages;
 import org.apache.axis2.om.impl.llom.builder.StAXBuilder;
 import org.apache.axis2.soap.SOAPEnvelope;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java Wed Jul 27 00:57:39 2005
@@ -17,12 +17,12 @@
 package org.apache.axis2.transport.mail;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.ConfigurationContextFactory;
 import org.apache.axis2.description.TransportInDescription;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.i18n.Messages;
 import org.apache.axis2.transport.EmailReceiver;
 import org.apache.axis2.transport.TransportListener;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailServer.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailServer.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailServer.java Wed Jul 27 00:57:39 2005
@@ -2,8 +2,8 @@
 
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.ConfigurationContextFactory;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.transport.mail.SimpleMailListener;
+import org.apache.axis2.AxisFault;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailSorter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailSorter.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailSorter.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailSorter.java Wed Jul 27 00:57:39 2005
@@ -1,12 +1,12 @@
 package org.apache.axis2.transport.mail.server;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.engine.AxisEngine;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.om.impl.llom.builder.StAXBuilder;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.impl.llom.builder.StAXSOAPModelBuilder;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/POP3Server.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/POP3Server.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/POP3Server.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/POP3Server.java Wed Jul 27 00:57:39 2005
@@ -1,8 +1,8 @@
 package org.apache.axis2.transport.mail.server;
 
-import org.apache.axis2.engine.AxisFault;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.axis2.AxisFault;
 
 import java.io.IOException;
 import java.net.ServerSocket;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/SMTPServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/SMTPServer.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/SMTPServer.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/SMTPServer.java Wed Jul 27 00:57:39 2005
@@ -1,7 +1,7 @@
 package org.apache.axis2.transport.mail.server;
 
 import org.apache.axis2.context.ConfigurationContext;
-import org.apache.axis2.engine.AxisFault;
+import org.apache.axis2.AxisFault;
 
 import java.io.IOException;
 import java.net.ServerSocket;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java Wed Jul 27 00:57:39 2005
@@ -23,9 +23,9 @@
 import org.apache.axis2.deployment.DeploymentException;
 import org.apache.axis2.description.Parameter;
 import org.apache.axis2.description.TransportInDescription;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.transport.TransportListener;
 import org.apache.axis2.transport.http.SimpleHTTPServer;
+import org.apache.axis2.AxisFault;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPTransportSender.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPTransportSender.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPTransportSender.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPTransportSender.java Wed Jul 27 00:57:39 2005
@@ -17,10 +17,10 @@
 
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.i18n.Messages;
 import org.apache.axis2.transport.AbstractTransportSender;
 import org.apache.axis2.util.URL;
+import org.apache.axis2.AxisFault;
 
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPWorker.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPWorker.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPWorker.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPWorker.java Wed Jul 27 00:57:39 2005
@@ -28,13 +28,13 @@
 import javax.xml.stream.XMLStreamReader;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.description.TransportInDescription;
 import org.apache.axis2.description.TransportOutDescription;
 import org.apache.axis2.engine.AxisConfiguration;
 import org.apache.axis2.engine.AxisEngine;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.i18n.Messages;
 import org.apache.axis2.om.impl.llom.builder.StAXBuilder;
 import org.apache.axis2.soap.SOAPEnvelope;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/util/Utils.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/util/Utils.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/util/Utils.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/util/Utils.java Wed Jul 27 00:57:39 2005
@@ -16,6 +16,7 @@
 package org.apache.axis2.util;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.description.Flow;
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.OperationDescription;
@@ -24,7 +25,6 @@
 import org.apache.axis2.description.PhaseRule;
 import org.apache.axis2.description.ServiceDescription;
 import org.apache.axis2.engine.AxisConfiguration;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.engine.MessageReceiver;
 import org.apache.axis2.phaseresolver.PhaseException;

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/util/threadpool/ThreadPool.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/util/threadpool/ThreadPool.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/util/threadpool/ThreadPool.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/util/threadpool/ThreadPool.java Wed Jul 27 00:57:39 2005
@@ -1,7 +1,7 @@
 package org.apache.axis2.util.threadpool;
 
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.i18n.Messages;
+import org.apache.axis2.AxisFault;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
@@ -59,7 +59,7 @@
      * This will wait till all the workers that are already handed over to the
      * thread pool get executed.
      *
-     * @throws AxisFault
+     * @throws org.apache.axis2.AxisFault
      */
     public void safeShutDown() throws AxisFault {
         synchronized (this) {

Modified: webservices/axis/trunk/java/modules/core/test-resources/deployment/module1/Handler3.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test-resources/deployment/module1/Handler3.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test-resources/deployment/module1/Handler3.java (original)
+++ webservices/axis/trunk/java/modules/core/test-resources/deployment/module1/Handler3.java Wed Jul 27 00:57:39 2005
@@ -17,9 +17,9 @@
 package org.apache.axis2.registry;
 
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.handlers.AbstractHandler;
+import org.apache.axis2.AxisFault;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 

Modified: webservices/axis/trunk/java/modules/core/test-resources/deployment/module1/org/apache/module/Module1Impl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test-resources/deployment/module1/org/apache/module/Module1Impl.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test-resources/deployment/module1/org/apache/module/Module1Impl.java (original)
+++ webservices/axis/trunk/java/modules/core/test-resources/deployment/module1/org/apache/module/Module1Impl.java Wed Jul 27 00:57:39 2005
@@ -1,8 +1,8 @@
 package org.apache.module;
 
 import org.apache.axis2.engine.AxisConfiguration;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.modules.Module;
+import org.apache.axis2.AxisFault;
 
 /**
  * Created by IntelliJ IDEA.

Modified: webservices/axis/trunk/java/modules/core/test-resources/deployment/service1/org/apache/axis/sample/handlers/LoggingHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test-resources/deployment/service1/org/apache/axis/sample/handlers/LoggingHandler.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test-resources/deployment/service1/org/apache/axis/sample/handlers/LoggingHandler.java (original)
+++ webservices/axis/trunk/java/modules/core/test-resources/deployment/service1/org/apache/axis/sample/handlers/LoggingHandler.java Wed Jul 27 00:57:39 2005
@@ -17,8 +17,8 @@
 package org.apache.axis2.sample.handlers;
 
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.handlers.AbstractHandler;
+import org.apache.axis2.AxisFault;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 

Modified: webservices/axis/trunk/java/modules/core/test-resources/deployment/service2/Handler2.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test-resources/deployment/service2/Handler2.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test-resources/deployment/service2/Handler2.java (original)
+++ webservices/axis/trunk/java/modules/core/test-resources/deployment/service2/Handler2.java Wed Jul 27 00:57:39 2005
@@ -1,11 +1,11 @@
 import javax.xml.namespace.QName;
 
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.axis2.handlers.AbstractHandler;
+import org.apache.axis2.AxisFault;
 
 public class Handler2  extends AbstractHandler implements Handler {
     private Log log = LogFactory.getLog(getClass());

Modified: webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/InavalidModuleImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/InavalidModuleImpl.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/InavalidModuleImpl.java (original)
+++ webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/InavalidModuleImpl.java Wed Jul 27 00:57:39 2005
@@ -2,7 +2,6 @@
 
 import org.apache.axis2.modules.Module;
 import org.apache.axis2.engine.AxisConfiguration;
-import org.apache.axis2.engine.AxisFault;
 
 /*
  * Copyright 2004,2005 The Apache Software Foundation.

Modified: webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/ModuleHandler1.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/ModuleHandler1.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/ModuleHandler1.java (original)
+++ webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/ModuleHandler1.java Wed Jul 27 00:57:39 2005
@@ -3,7 +3,6 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.handlers.AbstractHandler;
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/ContextHierarchyTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/ContextHierarchyTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/ContextHierarchyTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/ContextHierarchyTest.java Wed Jul 27 00:57:39 2005
@@ -21,7 +21,7 @@
 import org.apache.axis2.description.ServiceDescription;
 import org.apache.axis2.engine.AxisConfiguration;
 import org.apache.axis2.engine.AxisConfigurationImpl;
-import org.apache.axis2.engine.AxisFault;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.namespace.QName;
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/OperationContextTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/OperationContextTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/OperationContextTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/OperationContextTest.java Wed Jul 27 00:57:39 2005
@@ -17,12 +17,12 @@
 package org.apache.axis2.context;
 
 import org.apache.axis2.AbstractTestCase;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.miheaders.RelatesTo;
 import org.apache.axis2.description.OperationDescription;
 import org.apache.axis2.description.ServiceDescription;
 import org.apache.axis2.description.TransportInDescription;
 import org.apache.axis2.description.TransportOutDescription;
-import org.apache.axis2.engine.AxisFault;
 
 import javax.xml.namespace.QName;
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/DeploymentTotalTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/DeploymentTotalTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/DeploymentTotalTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/DeploymentTotalTest.java Wed Jul 27 00:57:39 2005
@@ -19,8 +19,8 @@
 import junit.framework.TestCase;
 import org.apache.axis2.context.ConfigurationContextFactory;
 import org.apache.axis2.engine.AxisConfiguration;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.phaseresolver.PhaseException;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.stream.XMLStreamException;
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/SpeakingHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/SpeakingHandler.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/SpeakingHandler.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/SpeakingHandler.java Wed Jul 27 00:57:39 2005
@@ -17,9 +17,9 @@
 package org.apache.axis2.deployment;
 
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.handlers.AbstractHandler;
+import org.apache.axis2.AxisFault;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/TransportDeploymentTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/TransportDeploymentTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/TransportDeploymentTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/TransportDeploymentTest.java Wed Jul 27 00:57:39 2005
@@ -17,10 +17,10 @@
 package org.apache.axis2.deployment;
 
 import org.apache.axis2.AbstractTestCase;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.description.TransportInDescription;
 import org.apache.axis2.description.TransportOutDescription;
 import org.apache.axis2.engine.AxisConfiguration;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.phaseresolver.PhaseException;
 
 import javax.xml.namespace.QName;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/RegistryTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/RegistryTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/RegistryTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/RegistryTest.java Wed Jul 27 00:57:39 2005
@@ -17,9 +17,9 @@
 package org.apache.axis2.description;
 
 import org.apache.axis2.AbstractTestCase;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.engine.AxisConfiguration;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.handlers.AbstractHandler;
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler.java Wed Jul 27 00:57:39 2005
@@ -17,9 +17,9 @@
 package org.apache.axis2.description;
 
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.handlers.AbstractHandler;
+import org.apache.axis2.AxisFault;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
@@ -38,7 +38,8 @@
         return name;
     }
 
-    public void invoke(MessageContext msgContext) throws AxisFault {
+    public void invoke(MessageContext msgContext) throws
+            AxisFault {
         log.info("I am " + message + " Handler Running :)");
     }
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler1.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler1.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler1.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler1.java Wed Jul 27 00:57:39 2005
@@ -17,9 +17,9 @@
 package org.apache.axis2.description;
 
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.handlers.AbstractHandler;
+import org.apache.axis2.AxisFault;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingProvider.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingProvider.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingProvider.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingProvider.java Wed Jul 27 00:57:39 2005
@@ -17,8 +17,8 @@
 package org.apache.axis2.description;
 
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.MessageReceiver;
+import org.apache.axis2.AxisFault;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/AbstractEngineTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/AbstractEngineTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/AbstractEngineTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/AbstractEngineTest.java Wed Jul 27 00:57:39 2005
@@ -19,6 +19,7 @@
 import junit.framework.TestCase;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver;
+import org.apache.axis2.AxisFault;
 
 public class AbstractEngineTest extends TestCase {
 //    protected ArrayList executedHandlers = new ArrayList();

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EnginePausingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EnginePausingTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EnginePausingTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EnginePausingTest.java Wed Jul 27 00:57:39 2005
@@ -31,6 +31,7 @@
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.soap.SOAPFactory;
 import org.apache.axis2.transport.http.HTTPTransportSender;
+import org.apache.axis2.AxisFault;
 import org.apache.wsdl.WSDLService;
 
 import javax.xml.namespace.QName;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EngineWithoutPhaseResolvingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EngineWithoutPhaseResolvingTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EngineWithoutPhaseResolvingTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EngineWithoutPhaseResolvingTest.java Wed Jul 27 00:57:39 2005
@@ -29,6 +29,7 @@
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.soap.SOAPFactory;
 import org.apache.axis2.transport.http.HTTPTransportSender;
+import org.apache.axis2.AxisFault;
 import org.apache.wsdl.WSDLConstants;
 import org.apache.wsdl.WSDLService;
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextEnabledEcho.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextEnabledEcho.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextEnabledEcho.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextEnabledEcho.java Wed Jul 27 00:57:39 2005
@@ -18,6 +18,7 @@
 
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.om.OMElement;
+import org.apache.axis2.AxisFault;
 
 /**
  * @version $Rev: $ $Date: $

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextTest.java Wed Jul 27 00:57:39 2005
@@ -17,6 +17,7 @@
 package org.apache.axis2.engine;
 
 import org.apache.axis2.AbstractTestCase;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.description.ServiceDescription;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/ModuleEngageTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/ModuleEngageTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/ModuleEngageTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/ModuleEngageTest.java Wed Jul 27 00:57:39 2005
@@ -7,6 +7,7 @@
 import org.apache.axis2.description.OperationDescription;
 import org.apache.axis2.description.ServiceDescription;
 import org.apache.axis2.phaseresolver.PhaseException;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.namespace.QName;
 import javax.xml.stream.XMLStreamException;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/misc/MiscTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/misc/MiscTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/misc/MiscTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/misc/MiscTest.java Wed Jul 27 00:57:39 2005
@@ -17,8 +17,8 @@
 package org.apache.axis2.misc;
 
 import org.apache.axis2.AbstractTestCase;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.SessionContext;
-import org.apache.axis2.engine.AxisFault;
 
 import java.lang.reflect.InvocationTargetException;
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeAfterTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeAfterTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeAfterTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeAfterTest.java Wed Jul 27 00:57:39 2005
@@ -6,10 +6,10 @@
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.PhaseRule;
 import org.apache.axis2.engine.AxisConfigurationImpl;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.engine.Phase;
 import org.apache.axis2.phaseresolver.PhaseHolder;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.namespace.QName;
 import java.util.ArrayList;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeTest.java Wed Jul 27 00:57:39 2005
@@ -6,10 +6,10 @@
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.PhaseRule;
 import org.apache.axis2.engine.AxisConfigurationImpl;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.engine.Phase;
 import org.apache.axis2.phaseresolver.PhaseHolder;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.namespace.QName;
 import java.util.ArrayList;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeWithNoFirstHandlerTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeWithNoFirstHandlerTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeWithNoFirstHandlerTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeWithNoFirstHandlerTest.java Wed Jul 27 00:57:39 2005
@@ -6,10 +6,10 @@
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.PhaseRule;
 import org.apache.axis2.engine.AxisConfigurationImpl;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.engine.Phase;
 import org.apache.axis2.phaseresolver.PhaseHolder;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.namespace.QName;
 import java.util.ArrayList;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstRulesTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstRulesTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstRulesTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstRulesTest.java Wed Jul 27 00:57:39 2005
@@ -6,10 +6,10 @@
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.PhaseRule;
 import org.apache.axis2.engine.AxisConfigurationImpl;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.engine.Phase;
 import org.apache.axis2.phaseresolver.PhaseHolder;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.namespace.QName;
 import java.util.ArrayList;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstTest.java Wed Jul 27 00:57:39 2005
@@ -6,10 +6,10 @@
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.PhaseRule;
 import org.apache.axis2.engine.AxisConfigurationImpl;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.engine.Phase;
 import org.apache.axis2.phaseresolver.PhaseHolder;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.namespace.QName;
 import java.util.ArrayList;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseLastRuleTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseLastRuleTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseLastRuleTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseLastRuleTest.java Wed Jul 27 00:57:39 2005
@@ -6,10 +6,10 @@
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.PhaseRule;
 import org.apache.axis2.engine.AxisConfigurationImpl;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.engine.Phase;
 import org.apache.axis2.phaseresolver.PhaseHolder;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.namespace.QName;
 import java.util.ArrayList;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaselastTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaselastTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaselastTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaselastTest.java Wed Jul 27 00:57:39 2005
@@ -6,10 +6,10 @@
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.PhaseRule;
 import org.apache.axis2.engine.AxisConfigurationImpl;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.engine.Phase;
 import org.apache.axis2.phaseresolver.PhaseHolder;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.namespace.QName;
 import java.util.ArrayList;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseFirstTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseFirstTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseFirstTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseFirstTest.java Wed Jul 27 00:57:39 2005
@@ -6,10 +6,10 @@
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.PhaseRule;
 import org.apache.axis2.engine.AxisConfigurationImpl;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.engine.Phase;
 import org.apache.axis2.phaseresolver.PhaseHolder;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.namespace.QName;
 import java.util.ArrayList;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseLastTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseLastTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseLastTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseLastTest.java Wed Jul 27 00:57:39 2005
@@ -6,10 +6,10 @@
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.PhaseRule;
 import org.apache.axis2.engine.AxisConfigurationImpl;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.engine.Phase;
 import org.apache.axis2.phaseresolver.PhaseHolder;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.namespace.QName;
 import java.util.ArrayList;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseRuleHandlers.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseRuleHandlers.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseRuleHandlers.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseRuleHandlers.java Wed Jul 27 00:57:39 2005
@@ -1,9 +1,9 @@
 package org.apache.axis2.phaserule;
 
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.handlers.AbstractHandler;
+import org.apache.axis2.AxisFault;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/SingleHandlerPhaseTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/SingleHandlerPhaseTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/SingleHandlerPhaseTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/SingleHandlerPhaseTest.java Wed Jul 27 00:57:39 2005
@@ -6,10 +6,10 @@
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.PhaseRule;
 import org.apache.axis2.engine.AxisConfigurationImpl;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.engine.Handler;
 import org.apache.axis2.engine.Phase;
 import org.apache.axis2.phaseresolver.PhaseHolder;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.namespace.QName;
 import java.util.ArrayList;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/HTTPTrasportHeaderParsingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/HTTPTrasportHeaderParsingTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/HTTPTrasportHeaderParsingTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/HTTPTrasportHeaderParsingTest.java Wed Jul 27 00:57:39 2005
@@ -18,7 +18,7 @@
 
 
 import org.apache.axis2.AbstractTestCase;
-import org.apache.axis2.engine.AxisFault;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.transport.http.HTTPConstants;
 import org.apache.axis2.transport.http.HTTPTransportReceiver;
 

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/tcp/TCPTransportTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/tcp/TCPTransportTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/tcp/TCPTransportTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/tcp/TCPTransportTest.java Wed Jul 27 00:57:39 2005
@@ -16,10 +16,10 @@
 package org.apache.axis2.transport.tcp;
 
 import junit.framework.TestCase;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.om.impl.llom.builder.StAXBuilder;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.impl.llom.builder.StAXSOAPModelBuilder;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.stream.XMLInputFactory;
 import javax.xml.stream.XMLStreamReader;

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/util/threadpool/TestThreadPool.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/util/threadpool/TestThreadPool.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/util/threadpool/TestThreadPool.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/util/threadpool/TestThreadPool.java Wed Jul 27 00:57:39 2005
@@ -1,7 +1,7 @@
 package org.apache.axis2.util.threadpool;
 
 import org.apache.axis2.AbstractTestCase;
-import org.apache.axis2.engine.AxisFault;
+import org.apache.axis2.AxisFault;
 
 import java.util.ArrayList;
 import java.util.List;

Modified: webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp (original)
+++ webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp Wed Jul 27 00:57:39 2005
@@ -9,10 +9,11 @@
                  org.apache.axis2.om.*,
                  org.apache.axis2.Constants,
                  javax.xml.stream.XMLOutputFactory,
-                 org.apache.axis2.engine.AxisFault,
+                 org.apache.axis2.AxisFault,
                  javax.xml.stream.XMLStreamException,
                  javax.xml.namespace.QName,
-                 java.io.StringWriter"
+                 java.io.StringWriter,
+                 org.apache.axis2.AxisFault"
    session="false" %>
 <%
      /*

Modified: webservices/axis/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPConnectionImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPConnectionImpl.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPConnectionImpl.java (original)
+++ webservices/axis/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPConnectionImpl.java Wed Jul 27 00:57:39 2005
@@ -16,10 +16,10 @@
 package org.apache.axis2.saaj;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.clientapi.Call;
-import org.apache.axis2.engine.AxisFault;
 
 import javax.xml.soap.SOAPConnection;
 import javax.xml.soap.SOAPException;

Modified: webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java Wed Jul 27 00:57:39 2005
@@ -16,11 +16,11 @@
 package sample.amazon.amazonSimpleQueueService.util;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.clientapi.Call;
 import org.apache.axis2.clientapi.Callback;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.om.OMElement;
 import sample.amazon.amazonSimpleQueueService.OMElementCreator;
 

Modified: webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java Wed Jul 27 00:57:39 2005
@@ -16,11 +16,11 @@
 package sample.amazon.amazonSimpleQueueService.util;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.clientapi.Call;
 import org.apache.axis2.clientapi.Callback;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.om.OMElement;
 import sample.amazon.amazonSimpleQueueService.OMElementCreator;
 

Modified: webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java Wed Jul 27 00:57:39 2005
@@ -16,11 +16,11 @@
 package sample.amazon.amazonSimpleQueueService.util;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.clientapi.Call;
 import org.apache.axis2.clientapi.Callback;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.om.OMElement;
 import sample.amazon.amazonSimpleQueueService.OMElementCreator;
 

Modified: webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java Wed Jul 27 00:57:39 2005
@@ -16,11 +16,11 @@
 package sample.amazon.amazonSimpleQueueService.util;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.clientapi.Call;
 import org.apache.axis2.clientapi.Callback;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.om.OMElement;
 import sample.amazon.amazonSimpleQueueService.OMElementCreator;
 

Modified: webservices/axis/trunk/java/modules/samples/src/sample/amazon/search/AsynchronousClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/amazon/search/AsynchronousClient.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/amazon/search/AFrom axis-cvs-return-7835-apmail-ws-axis-cvs-archive=ws.apache.org@ws.apache.org Wed Jul 27 08:09:31 2005
Return-Path: <ax...@ws.apache.org>
Delivered-To: apmail-ws-axis-cvs-archive@www.apache.org
Received: (qmail 37382 invoked from network); 27 Jul 2005 08:09:27 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199)
  by minotaur.apache.org with SMTP; 27 Jul 2005 08:09:27 -0000
Received: (qmail 4905 invoked by uid 500); 27 Jul 2005 08:09:17 -0000
Delivered-To: apmail-ws-axis-cvs-archive@ws.apache.org
Received: (qmail 4737 invoked by uid 500); 27 Jul 2005 08:09:15 -0000
Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm
Precedence: bulk
list-help: <ma...@ws.apache.org>
list-unsubscribe: <ma...@ws.apache.org>
List-Post: <ma...@ws.apache.org>
List-Id: <axis-cvs.ws.apache.org>
Delivered-To: mailing list axis-cvs@ws.apache.org
Received: (qmail 4720 invoked by uid 99); 27 JulsynchronousClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/amazon/search/AsynchronousClient.java Wed Jul 27 00:57:39 2005
@@ -17,12 +17,12 @@
 package sample.amazon.search;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.clientapi.Call;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.description.OperationDescription;
-import org.apache.axis2.engine.AxisFault;
 
 import javax.xml.namespace.QName;
 import javax.xml.stream.XMLOutputFactory;



 2005 08:09:15 -0000
X-ASF-Spam-Status: No, hits=-9.8 required=10.0
	tests=ALL_TRUSTED,NO_REAL_NAME
X-Spam-Check-By: apache.org
Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194)
    by apache.org (qpsmtpd/0.29) with SMTP; Wed, 27 Jul 2005 01:09:03 -0700
Received: (qmail 37111 invoked by uid 65534); 27 Jul 2005 08:09:01 -0000
Message-ID: <20...@minotaur.apache.org>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r225478 [1/4] - in /webservices/axis/trunk/java/modules:
 addressing/src/org/apache/axis2/handlers/addressing/
 addressing/test/org/apache/axis2/handlers/addressing/
 common/src/org/apache/axis2/ common/src/org/apache/axis2/i18n/
 core/src/org/...
Date: Wed, 27 Jul 2005 08:08:21 -0000
To: axis-cvs@ws.apache.org
From: chinthaka@apache.org
X-Mailer: svnmailer-1.0.2
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

Author: chinthaka
Date: Wed Jul 27 00:57:39 2005
New Revision: 225478

URL: http://svn.apache.org/viewcvs?rev=225478&view=rev
Log:
- refactored AxisFault in to common module so that it can be used by an module.
- added code to throw SOAPProcessingException from StAXSOAPModelBuilder which has enough information to create response fault with correct information in it.

Added:
    webservices/axis/trunk/java/modules/common/src/org/apache/axis2/AxisFault.java
Removed:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/AxisFault.java
Modified:
    webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java
    webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java
    webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingModuleTest.java
    webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/MessageBundle.java
    webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/Messages.java
    webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/MessagesConstants.java
    webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/ProjectResourceBundle.java
    webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/RB.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/Call.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/CallbackReceiver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/InOnlyMEPClient.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/InOutMEPClient.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/ListenerManager.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/MEPClient.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/MessageSender.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/Stub.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/TwoWayTransportBasedSender.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContext.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/context/ConfigurationContextFactory.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/context/OperationContext.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/context/OperationContextFactory.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentEngine.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentException.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentParser.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/deployment/repository/util/ArchiveFileData.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/description/OperationDescription.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/description/ServiceDescription.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/AbstractDispatcher.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/AddressingBasedDispatcher.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfiguration.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/AxisConfigurationImpl.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/AxisEngine.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/DependencyManager.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/DispatchingChecker.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/Handler.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/MessageReceiver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/Phase.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/RequestURIBasedDispatcher.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/SOAPActionBasedDispatcher.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/SOAPMessageBodyBasedDispatcher.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/engine/SOAPProcessingModelChecker.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/handlers/AbstractHandler.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/modules/Module.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/phaseresolver/PhaseException.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/phaseresolver/PhaseResolver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/receivers/AbstractInMessageReceiver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/receivers/AbstractInOutAsyncMessageReceiver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/receivers/AbstractInOutSyncMessageReceiver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/receivers/AbstractMessageReceiver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/receivers/AbstractRobustInMessageReceiver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/receivers/RawXMLINOnlyMessageReceiver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/receivers/RawXMLINOutMessageReceiver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/receivers/ServerCallback.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/AbstractTransportSender.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/EmailReceiver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/TransportListener.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/TransportSender.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/TransportUtils.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/AxisServlet.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportReceiver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportSender.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPWorker.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/ListingAgent.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPOutputStream.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/local/LocalTransportReceiver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/local/LocalTransportSender.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/EMailSender.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailTransportSender.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailWorker.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailServer.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailSorter.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/POP3Server.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/SMTPServer.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPTransportSender.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPWorker.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/util/Utils.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/util/threadpool/ThreadPool.java
    webservices/axis/trunk/java/modules/core/test-resources/deployment/module1/Handler3.java
    webservices/axis/trunk/java/modules/core/test-resources/deployment/module1/org/apache/module/Module1Impl.java
    webservices/axis/trunk/java/modules/core/test-resources/deployment/service1/org/apache/axis/sample/handlers/LoggingHandler.java
    webservices/axis/trunk/java/modules/core/test-resources/deployment/service2/Handler2.java
    webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/InavalidModuleImpl.java
    webservices/axis/trunk/java/modules/core/test-resources/deployment/serviceModule/org/apache/axis/ModuleHandler1.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/ContextHierarchyTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/context/OperationContextTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/DeploymentTotalTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/SpeakingHandler.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/deployment/TransportDeploymentTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/RegistryTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingHandler1.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/description/SpeakingProvider.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/AbstractEngineTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EnginePausingTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EngineWithoutPhaseResolvingTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextEnabledEcho.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/ModuleEngageTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/misc/MiscTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeAfterTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/BeforeWithNoFirstHandlerTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstRulesTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseFirstTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaseLastRuleTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/InvalidPhaselastTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseFirstTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseLastTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/PhaseRuleHandlers.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/phaserule/SingleHandlerPhaseTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/HTTPTrasportHeaderParsingTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/transport/tcp/TCPTransportTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/util/threadpool/TestThreadPool.java
    webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp
    webservices/axis/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPConnectionImpl.java
    webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java
    webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java
    webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java
    webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java
    webservices/axis/trunk/java/modules/samples/src/sample/amazon/search/AsynchronousClient.java
    webservices/axis/trunk/java/modules/samples/src/sample/amazon/search/ClientUtil.java
    webservices/axis/trunk/java/modules/samples/src/sample/amazon/search/GUIHandler.java
    webservices/axis/trunk/java/modules/samples/src/sample/google/search/AsynchronousClient.java
    webservices/axis/trunk/java/modules/samples/src/sample/google/search/ClientUtil.java
    webservices/axis/trunk/java/modules/samples/src/sample/google/search/GUIHandler.java
    webservices/axis/trunk/java/modules/samples/src/sample/google/spellcheck/FormModel.java
    webservices/axis/trunk/java/modules/samples/src/sample/groovy/GroovyReceiver.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/ClientForWebServiceWithModule.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoBlockingClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoBlockingDualClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoNonBlockingClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoNonBlockingDualClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/MailClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/PingClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/RESTClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/TCPClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/loggingmodule/LogHandler.java
    webservices/axis/trunk/java/modules/samples/src/userguide/loggingmodule/LoggingModule.java
    webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/ReplyMessages/test.xml
    webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java
    webservices/axis/trunk/java/modules/samples/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/HandlerFailureTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/OneWayRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SOAPversionTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SpeakingHandler.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SpeakingHandler1.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/util/MyInOutMEPClient.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/UtilServer.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/integration/UtilsTCPServer.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailetRequestResponceRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/UtilsMailServer.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/tcp/TCPEchoRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/tcp/TCPTwoChannelEchoRawXMLTest.java
    webservices/axis/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/template/java/MessageReceiverTemplate.xsl
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPConstants.java
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPProcessingException.java
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11Constants.java
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12Constants.java

Modified: webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java (original)
+++ webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java Wed Jul 27 00:57:39 2005
@@ -5,12 +5,12 @@
 import org.apache.axis2.addressing.MessageInformationHeadersCollection;
 import org.apache.axis2.addressing.miheaders.RelatesTo;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.axis2.om.OMAttribute;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.soap.SOAPHeader;
 import org.apache.axis2.soap.SOAPHeaderBlock;
+import org.apache.axis2.AxisFault;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 

Modified: webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java (original)
+++ webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java Wed Jul 27 00:57:39 2005
@@ -7,13 +7,13 @@
 import org.apache.axis2.addressing.ServiceName;
 import org.apache.axis2.addressing.miheaders.RelatesTo;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisFault;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
 import org.apache.axis2.soap.SOAPHeader;
 import org.apache.axis2.soap.SOAPHeaderBlock;
+import org.apache.axis2.AxisFault;
 import org.apache.wsdl.WSDLConstants;
 
 import javax.xml.namespace.QName;

Modified: webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingModuleTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingModuleTest.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingModuleTest.java (original)
+++ webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingModuleTest.java Wed Jul 27 00:57:39 2005
@@ -4,7 +4,7 @@
 import org.apache.axis2.context.ConfigurationContextFactory;
 import org.apache.axis2.description.ModuleDescription;
 import org.apache.axis2.engine.AxisConfiguration;
-import org.apache.axis2.engine.AxisFault;
+import org.apache.axis2.AxisFault;
 
 import javax.xml.namespace.QName;
 import java.io.File;

Added: webservices/axis/trunk/java/modules/common/src/org/apache/axis2/AxisFault.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/common/src/org/apache/axis2/AxisFault.java?rev=225478&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/common/src/org/apache/axis2/AxisFault.java (added)
+++ webservices/axis/trunk/java/modules/common/src/org/apache/axis2/AxisFault.java Wed Jul 27 00:57:39 2005
@@ -0,0 +1,98 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.axis2;
+
+import java.lang.reflect.InvocationTargetException;
+import java.rmi.RemoteException;
+
+/**
+ * An exception which maps cleanly to a SOAP fault.
+ * This is a base class for exceptions which are mapped to faults.
+ * SOAP faults contain
+ * <ol>
+ * <li>A fault string
+ * <li>A fault code
+ * <li>A fault actor
+ * <li>Fault details; an xml tree of fault specific stuff
+ * </ol>
+ */
+public class AxisFault extends RemoteException {
+
+    private String soapFaultCode;
+
+    public AxisFault(Throwable arg1) {
+        super(arg1.getMessage(), arg1);
+    }
+
+    /**
+     * @param arg0
+     */
+    public AxisFault(String arg0) {
+        super(arg0);
+    }
+
+    /**
+     * @param arg0
+     * @param arg1
+     */
+    public AxisFault(String arg0, Throwable arg1) {
+        super(arg0, arg1);
+    }
+
+    /**
+     * Make an AxisFault based on a passed Exception.  If the Exception is
+     * already an AxisFault, simply use that.  Otherwise, wrap it in an
+     * AxisFault.  If the Exception is an InvocationTargetException (which
+     * already wraps another Exception), get the wrapped Exception out from
+     * there and use that instead of the passed one.
+     *
+     * @param e the <code>Exception</code> to build a fault for
+     * @return an <code>AxisFault</code> representing <code>e</code>
+     */
+    public static AxisFault makeFault(Exception e) {
+        if (e instanceof InvocationTargetException) {
+            Throwable t = ((InvocationTargetException) e).getTargetException();
+            if (t instanceof Exception) {
+                e = (Exception) t;
+            }
+        }
+        if (e instanceof AxisFault) {
+            return (AxisFault) e;
+        }
+        return new AxisFault(e.getMessage(), e);
+    }
+
+     /**
+     *
+     * @param messageText - this will appear as the Text in the Reason information item of SOAP Fault
+     * @param faultCode - this will appear as the Value in the Code information item of SOAP Fault
+     * @param cause - this will appear under the Detail information item of SOAP Fault
+     */
+    public AxisFault(String messageText, String faultCode, Throwable cause) {
+        super(messageText, cause);
+        this.soapFaultCode = faultCode;
+    }
+
+    /**
+     *
+     * @param messageText - this will appear as the Text in the Reason information item of SOAP Fault
+     * @param faultCode - this will appear as the Value in the Code information item of SOAP Fault
+     */
+    public AxisFault(String messageText, String faultCode) {
+        super(messageText);
+        this.soapFaultCode = faultCode;
+    }
+}

Modified: webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/MessageBundle.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/MessageBundle.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/MessageBundle.java (original)
+++ webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/MessageBundle.java Wed Jul 27 00:57:39 2005
@@ -25,14 +25,14 @@
  * Accept parameters for ProjectResourceBundle,
  * but defer object instantiation (and therefore
  * resource bundle loading) until required.
- * 
+ *
  * @author Richard A. Sitze (rsitze@us.ibm.com)
  * @author Karl Moss (kmoss@macromedia.com)
  * @author Glen Daniels (gdaniels@apache.org)
  */
 public class MessageBundle {
     private boolean loaded = false;
-    
+
     private ProjectResourceBundle _resourceBundle = null;
 
     private final String projectName;
@@ -46,11 +46,11 @@
     public final ProjectResourceBundle getResourceBundle() {
         if (!loaded) {
             _resourceBundle = ProjectResourceBundle.getBundle(projectName,
-                                                              packageName,
-                                                              resourceName,
-                                                              locale,
-                                                              classLoader,
-                                                              parent);
+                    packageName,
+                    resourceName,
+                    locale,
+                    classLoader,
+                    parent);
             loaded = true;
         }
         return _resourceBundle;
@@ -60,13 +60,12 @@
      * Construct a new ExtendMessages
      */
     public MessageBundle(String projectName,
-                             String packageName,
-                             String resourceName,
-                             Locale locale,
-                             ClassLoader classLoader,
-                             ResourceBundle parent)
-        throws MissingResourceException
-    {
+                         String packageName,
+                         String resourceName,
+                         Locale locale,
+                         ClassLoader classLoader,
+                         ResourceBundle parent)
+            throws MissingResourceException {
         this.projectName = projectName;
         this.packageName = packageName;
         this.resourceName = resourceName;
@@ -76,118 +75,118 @@
     }
 
     /**
-      * Gets a string message from the resource bundle for the given key
-      * @param key The resource key
-      * @return The message
-      */
-    public String getMessage(String key) throws MissingResourceException
-    {
+     * Gets a string message from the resource bundle for the given key
+     *
+     * @param key The resource key
+     * @return The message
+     */
+    public String getMessage(String key) throws MissingResourceException {
         return getMessage(key, (String[]) null);
     }
 
     /**
-      * <p>Gets a string message from the resource bundle for the given key. The
-      * message may contain variables that will be substituted with the given
-      * arguments. Variables have the format:</p>
-      * <dir>
-      * This message has two variables: {0} and {1}
-      * </dir>
-      * @param key The resource key
-      * @param arg0 The argument to place in variable {0}
-      * @return The message
-      */
-    public String getMessage(String key, String arg0) throws MissingResourceException
-    {
-        return getMessage(key, new String[] { arg0 });
-    }
-
-    /**
-      * <p>Gets a string message from the resource bundle for the given key. The
-      * message may contain variables that will be substituted with the given
-      * arguments. Variables have the format:</p>
-      * <dir>
-      * This message has two variables: {0} and {1}
-      * </dir>
-      * @param key The resource key
-      * @param arg0 The argument to place in variable {0}
-      * @param arg1 The argument to place in variable {1}
-      * @return The message
-      */
-    public String getMessage(String key, String arg0, String arg1) throws MissingResourceException
-    {
-        return getMessage(key, new String[] { arg0, arg1 });
-    }
-
-    /**
-      * <p>Gets a string message from the resource bundle for the given key. The
-      * message may contain variables that will be substituted with the given
-      * arguments. Variables have the format:</p>
-      * <dir>
-      * This message has two variables: {0} and {1}
-      * </dir>
-      * @param key The resource key
-      * @param arg0 The argument to place in variable {0}
-      * @param arg1 The argument to place in variable {1}
-      * @param arg2 The argument to place in variable {2}
-      * @return The message
-      */
-    public String getMessage(String key, String arg0, String arg1, String arg2) throws MissingResourceException
-    {
-        return getMessage(key, new String[] { arg0, arg1, arg2 });
-    }
-
-    /**
-      * <p>Gets a string message from the resource bundle for the given key. The
-      * message may contain variables that will be substituted with the given
-      * arguments. Variables have the format:</p>
-      * <dir>
-      * This message has two variables: {0} and {1}
-      * </dir>
-      * @param key The resource key
-      * @param arg0 The argument to place in variable {0}
-      * @param arg1 The argument to place in variable {1}
-      * @param arg2 The argument to place in variable {2}
-      * @param arg3 The argument to place in variable {3}
-      * @return The message
-      */
-    public String getMessage(String key, String arg0, String arg1, String arg2, String arg3) throws MissingResourceException
-    {
-        return getMessage(key, new String[] { arg0, arg1, arg2, arg3 });
-    }
-
-    /**
-      * <p>Gets a string message from the resource bundle for the given key. The
-      * message may contain variables that will be substituted with the given
-      * arguments. Variables have the format:</p>
-      * <dir>
-      * This message has two variables: {0} and {1}
-      * </dir>
-      * @param key The resource key
-      * @param arg0 The argument to place in variable {0}
-      * @param arg1 The argument to place in variable {1}
-      * @param arg2 The argument to place in variable {2}
-      * @param arg3 The argument to place in variable {3}
-      * @param arg4 The argument to place in variable {4}
-      * @return The message
-      */
-    public String getMessage(String key, String arg0, String arg1, String arg2, String arg3, String arg4) throws MissingResourceException
-    {
-        return getMessage(key, new String[] { arg0, arg1, arg2, arg3, arg4 });
-    }
-
-    /**
-      * <p>Gets a string message from the resource bundle for the given key. The
-      * message may contain variables that will be substituted with the given
-      * arguments. Variables have the format:</p>
-      * <dir>
-      * This message has two variables: {0} and {1}
-      * </dir>
-      * @param key The resource key
-      * @param array An array of objects to place in corresponding variables
-      * @return The message
-      */
-    public String getMessage(String key, String[] array) throws MissingResourceException
-    {
+     * <p>Gets a string message from the resource bundle for the given key. The
+     * message may contain variables that will be substituted with the given
+     * arguments. Variables have the format:</p>
+     * <dir>
+     * This message has two variables: {0} and {1}
+     * </dir>
+     *
+     * @param key  The resource key
+     * @param arg0 The argument to place in variable {0}
+     * @return The message
+     */
+    public String getMessage(String key, String arg0) throws MissingResourceException {
+        return getMessage(key, new String[]{arg0});
+    }
+
+    /**
+     * <p>Gets a string message from the resource bundle for the given key. The
+     * message may contain variables that will be substituted with the given
+     * arguments. Variables have the format:</p>
+     * <dir>
+     * This message has two variables: {0} and {1}
+     * </dir>
+     *
+     * @param key  The resource key
+     * @param arg0 The argument to place in variable {0}
+     * @param arg1 The argument to place in variable {1}
+     * @return The message
+     */
+    public String getMessage(String key, String arg0, String arg1) throws MissingResourceException {
+        return getMessage(key, new String[]{arg0, arg1});
+    }
+
+    /**
+     * <p>Gets a string message from the resource bundle for the given key. The
+     * message may contain variables that will be substituted with the given
+     * arguments. Variables have the format:</p>
+     * <dir>
+     * This message has two variables: {0} and {1}
+     * </dir>
+     *
+     * @param key  The resource key
+     * @param arg0 The argument to place in variable {0}
+     * @param arg1 The argument to place in variable {1}
+     * @param arg2 The argument to place in variable {2}
+     * @return The message
+     */
+    public String getMessage(String key, String arg0, String arg1, String arg2) throws MissingResourceException {
+        return getMessage(key, new String[]{arg0, arg1, arg2});
+    }
+
+    /**
+     * <p>Gets a string message from the resource bundle for the given key. The
+     * message may contain variables that will be substituted with the given
+     * arguments. Variables have the format:</p>
+     * <dir>
+     * This message has two variables: {0} and {1}
+     * </dir>
+     *
+     * @param key  The resource key
+     * @param arg0 The argument to place in variable {0}
+     * @param arg1 The argument to place in variable {1}
+     * @param arg2 The argument to place in variable {2}
+     * @param arg3 The argument to place in variable {3}
+     * @return The message
+     */
+    public String getMessage(String key, String arg0, String arg1, String arg2, String arg3) throws MissingResourceException {
+        return getMessage(key, new String[]{arg0, arg1, arg2, arg3});
+    }
+
+    /**
+     * <p>Gets a string message from the resource bundle for the given key. The
+     * message may contain variables that will be substituted with the given
+     * arguments. Variables have the format:</p>
+     * <dir>
+     * This message has two variables: {0} and {1}
+     * </dir>
+     *
+     * @param key  The resource key
+     * @param arg0 The argument to place in variable {0}
+     * @param arg1 The argument to place in variable {1}
+     * @param arg2 The argument to place in variable {2}
+     * @param arg3 The argument to place in variable {3}
+     * @param arg4 The argument to place in variable {4}
+     * @return The message
+     */
+    public String getMessage(String key, String arg0, String arg1, String arg2, String arg3, String arg4) throws MissingResourceException {
+        return getMessage(key, new String[]{arg0, arg1, arg2, arg3, arg4});
+    }
+
+    /**
+     * <p>Gets a string message from the resource bundle for the given key. The
+     * message may contain variables that will be substituted with the given
+     * arguments. Variables have the format:</p>
+     * <dir>
+     * This message has two variables: {0} and {1}
+     * </dir>
+     *
+     * @param key   The resource key
+     * @param array An array of objects to place in corresponding variables
+     * @return The message
+     */
+    public String getMessage(String key, String[] array) throws MissingResourceException {
         String msg = null;
         if (getResourceBundle() != null) {
             msg = getResourceBundle().getString(key);
@@ -195,9 +194,9 @@
 
         if (msg == null) {
             throw new MissingResourceException("Cannot find resource key \"" + key +
-                                               "\" in base name " +
-                                               getResourceBundle().getResourceName(),
-                                               getResourceBundle().getResourceName(), key);
+                    "\" in base name " +
+                    getResourceBundle().getResourceName(),
+                    getResourceBundle().getResourceName(), key);
         }
 
         return MessageFormat.format(msg, array);

Modified: webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/Messages.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/Messages.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/Messages.java (original)
+++ webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/Messages.java Wed Jul 27 00:57:39 2005
@@ -22,24 +22,23 @@
 
 
 /**
- * @see org.apache.axis.i18n.Messages
- * 
- * FUNCTIONAL TEMPLATE for Messages classes.
- * 
- * Copy this template to your package.
- * 
- * For subpackages of org.apache.axis.*, the internal constants
- * are set appropriately.  To adapt this scheme to an extension project
- * (package prefix differs from org.apache.axis.*), edit the projectName
- * attribute.  The others shouldn't need to be changed unless this is
- * being adapted to a non-AXIS related project..
- * 
  * @author Richard A. Sitze (rsitze@us.ibm.com)
  * @author Karl Moss (kmoss@macromedia.com)
  * @author Glen Daniels (gdaniels@apache.org)
+ * @see org.apache.axis.i18n.Messages
+ *      <p/>
+ *      FUNCTIONAL TEMPLATE for Messages classes.
+ *      <p/>
+ *      Copy this template to your package.
+ *      <p/>
+ *      For subpackages of org.apache.axis.*, the internal constants
+ *      are set appropriately.  To adapt this scheme to an extension project
+ *      (package prefix differs from org.apache.axis.*), edit the projectName
+ *      attribute.  The others shouldn't need to be changed unless this is
+ *      being adapted to a non-AXIS related project..
  */
 public class Messages {
-    private static final Class  thisClass = Messages.class;
+    private static final Class thisClass = Messages.class;
 
     private static final String projectName = MessagesConstants.projectName;
 
@@ -50,114 +49,116 @@
     private static final ClassLoader classLoader = thisClass.getClassLoader();
 
     private static final ResourceBundle parent =
-        (MessagesConstants.rootPackageName == packageName)
-        ? null
-        : MessagesConstants.rootBundle;
+            (MessagesConstants.rootPackageName == packageName)
+            ? null
+            : MessagesConstants.rootBundle;
 
 
-    /***** NO NEED TO CHANGE ANYTHING BELOW *****/
+    /**
+     * ** NO NEED TO CHANGE ANYTHING BELOW ****
+     */
 
     private static final MessageBundle messageBundle =
-        new MessageBundle(projectName, packageName, resourceName,
-                                     locale, classLoader, parent);
+            new MessageBundle(projectName, packageName, resourceName,
+                    locale, classLoader, parent);
 
     /**
-      * Get a message from resource.properties from the package of the given object.
-      * @param key The resource key
-      * @return The formatted message
-      */
+     * Get a message from resource.properties from the package of the given object.
+     *
+     * @param key The resource key
+     * @return The formatted message
+     */
     public static String getMessage(String key)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         return messageBundle.getMessage(key);
     }
 
     /**
-      * Get a message from resource.properties from the package of the given object.
-      * @param key The resource key
-      * @param arg0 The argument to place in variable {0}
-      * @return The formatted message
-      */
+     * Get a message from resource.properties from the package of the given object.
+     *
+     * @param key  The resource key
+     * @param arg0 The argument to place in variable {0}
+     * @return The formatted message
+     */
     public static String getMessage(String key, String arg0)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         return messageBundle.getMessage(key, arg0);
     }
 
     /**
-      * Get a message from resource.properties from the package of the given object.
-      * @param key The resource key
-      * @param arg0 The argument to place in variable {0}
-      * @param arg1 The argument to place in variable {1}
-      * @return The formatted message
-      */
+     * Get a message from resource.properties from the package of the given object.
+     *
+     * @param key  The resource key
+     * @param arg0 The argument to place in variable {0}
+     * @param arg1 The argument to place in variable {1}
+     * @return The formatted message
+     */
     public static String getMessage(String key, String arg0, String arg1)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         return messageBundle.getMessage(key, arg0, arg1);
     }
 
     /**
-      * Get a message from resource.properties from the package of the given object.
-      * @param key The resource key
-      * @param arg0 The argument to place in variable {0}
-      * @param arg1 The argument to place in variable {1}
-      * @param arg2 The argument to place in variable {2}
-      * @return The formatted message
-      */
+     * Get a message from resource.properties from the package of the given object.
+     *
+     * @param key  The resource key
+     * @param arg0 The argument to place in variable {0}
+     * @param arg1 The argument to place in variable {1}
+     * @param arg2 The argument to place in variable {2}
+     * @return The formatted message
+     */
     public static String getMessage(String key, String arg0, String arg1, String arg2)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         return messageBundle.getMessage(key, arg0, arg1, arg2);
     }
 
     /**
-      * Get a message from resource.properties from the package of the given object.
-      * @param key The resource key
-      * @param arg0 The argument to place in variable {0}
-      * @param arg1 The argument to place in variable {1}
-      * @param arg2 The argument to place in variable {2}
-      * @param arg3 The argument to place in variable {3}
-      * @return The formatted message
-      */
+     * Get a message from resource.properties from the package of the given object.
+     *
+     * @param key  The resource key
+     * @param arg0 The argument to place in variable {0}
+     * @param arg1 The argument to place in variable {1}
+     * @param arg2 The argument to place in variable {2}
+     * @param arg3 The argument to place in variable {3}
+     * @return The formatted message
+     */
     public static String getMessage(String key, String arg0, String arg1, String arg2, String arg3)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         return messageBundle.getMessage(key, arg0, arg1, arg2, arg3);
     }
 
     /**
-      * Get a message from resource.properties from the package of the given object.
-      * @param key The resource key
-      * @param arg0 The argument to place in variable {0}
-      * @param arg1 The argument to place in variable {1}
-      * @param arg2 The argument to place in variable {2}
-      * @param arg3 The argument to place in variable {3}
-      * @param arg4 The argument to place in variable {4}
-      * @return The formatted message
-      */
+     * Get a message from resource.properties from the package of the given object.
+     *
+     * @param key  The resource key
+     * @param arg0 The argument to place in variable {0}
+     * @param arg1 The argument to place in variable {1}
+     * @param arg2 The argument to place in variable {2}
+     * @param arg3 The argument to place in variable {3}
+     * @param arg4 The argument to place in variable {4}
+     * @return The formatted message
+     */
     public static String getMessage(String key, String arg0, String arg1, String arg2, String arg3, String arg4)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         return messageBundle.getMessage(key, arg0, arg1, arg2, arg3, arg4);
     }
 
     /**
-      * Get a message from resource.properties from the package of the given object.
-      * @param key The resource key
-      * @param args An array of objects to place in corresponding variables
-      * @return The formatted message
-      */
+     * Get a message from resource.properties from the package of the given object.
+     *
+     * @param key  The resource key
+     * @param args An array of objects to place in corresponding variables
+     * @return The formatted message
+     */
     public static String getMessage(String key, String[] args)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         return messageBundle.getMessage(key, args);
     }
-    
+
     public static ResourceBundle getResourceBundle() {
         return messageBundle.getResourceBundle();
     }
-    
+
     public static MessageBundle getMessageBundle() {
         return messageBundle;
     }

Modified: webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/MessagesConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/MessagesConstants.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/MessagesConstants.java (original)
+++ webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/MessagesConstants.java Wed Jul 27 00:57:39 2005
@@ -30,10 +30,10 @@
     public static final String rootPackageName = "org.apache.axis2.i18n".intern();
 
     public static final ResourceBundle rootBundle =
-        ProjectResourceBundle.getBundle(projectName,
-                                        rootPackageName,
-                                        resourceName,
-                                        locale,
-                                        MessagesConstants.class.getClassLoader(),
-                                        null);
+            ProjectResourceBundle.getBundle(projectName,
+                    rootPackageName,
+                    resourceName,
+                    locale,
+                    MessagesConstants.class.getClassLoader(),
+                    null);
 }

Modified: webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/ProjectResourceBundle.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/ProjectResourceBundle.java?rev=225478&r1=225477&r2=225478&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/ProjectResourceBundle.java (original)
+++ webservices/axis/trunk/java/modules/common/src/org/apache/axis2/i18n/ProjectResourceBundle.java Wed Jul 27 00:57:39 2005
@@ -20,13 +20,7 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
-import java.util.Enumeration;
-import java.util.HashSet;
-import java.util.Hashtable;
-import java.util.Iterator;
-import java.util.Locale;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
+import java.util.*;
 
 /**
  * <p>Wrapper class for resource bundles. Property files are used to store
@@ -45,14 +39,14 @@
  * variables. Any dynamic variable defined in PropertiesUtil.getVariableValue()
  * can be used (such as {date}), as well as arguments in the form {0}, {1}, etc.
  * Argument values are specified in the various overloaded getString() methods.</p>
- * 
+ *
  * @author Richard A. Sitze (rsitze@us.ibm.com)
  * @author Karl Moss (kmoss@macromedia.com)
  * @author Glen Daniels (gdaniels@apache.org)
  */
 public class ProjectResourceBundle extends ResourceBundle {
     protected static Log log =
-        LogFactory.getLog(ProjectResourceBundle.class.getName());
+            LogFactory.getLog(ProjectResourceBundle.class.getName());
 
 
     // The static cache of ResourceBundles.
@@ -65,10 +59,9 @@
     private final ResourceBundle resourceBundle;
     private final String resourceName;
 
-    
+
     protected Object handleGetObject(String key)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         if (log.isDebugEnabled()) {
             log.debug(this.toString() + "::handleGetObject(" + key + ")");
         }
@@ -85,7 +78,7 @@
         }
         return obj;
     }
-    
+
     public Enumeration getKeys() {
         Enumeration myKeys = resourceBundle.getKeys();
         if (parent == null) {
@@ -95,163 +88,145 @@
             while (myKeys.hasMoreElements()) {
                 set.add(myKeys.nextElement());
             }
-            
+
             Enumeration pKeys = parent.getKeys();
             while (pKeys.hasMoreElements()) {
                 set.add(pKeys.nextElement());
             }
-            
+
             return new Enumeration() {
-                    private Iterator it = set.iterator();
-                    public boolean hasMoreElements() { return it.hasNext(); }
-                    public Object nextElement() { return it.next(); }
-                };
+                private Iterator it = set.iterator();
+
+                public boolean hasMoreElements() {
+                    return it.hasNext();
+                }
+
+                public Object nextElement() {
+                    return it.next();
+                }
+            };
         }
     }
-    
+
 
     /**
      * Construct a new ProjectResourceBundle
-     * 
-     * @param projectName The name of the project to which the class belongs.
-     *        It must be a proper prefix of the caller's package.
-     * 
-     * @param caller The calling class.
-     *        This is used to get the package name to further construct
-     *        the basename as well as to get the proper ClassLoader.
-     * 
+     *
+     * @param projectName  The name of the project to which the class belongs.
+     *                     It must be a proper prefix of the caller's package.
+     * @param caller       The calling class.
+     *                     This is used to get the package name to further construct
+     *                     the basename as well as to get the proper ClassLoader.
      * @param resourceName The name of the resource without the
-     *        ".properties" extension
-     * 
+     *                     ".properties" extension
      * @throws MissingResourceException if projectName is not a prefix of
-     *         the caller's package name, or if the resource could not be
-     *         found/loaded.
+     *                                  the caller's package name, or if the resource could not be
+     *                                  found/loaded.
      */
     public static ProjectResourceBundle getBundle(String projectName,
                                                   String packageName,
                                                   String resourceName)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         return getBundle(projectName, packageName, resourceName, null, null, null);
     }
 
     /**
      * Construct a new ProjectResourceBundle
-     * 
-     * @param projectName The name of the project to which the class belongs.
-     *        It must be a proper prefix of the caller's package.
-     * 
-     * @param caller The calling class.
-     *        This is used to get the package name to further construct
-     *        the basename as well as to get the proper ClassLoader.
-     * 
+     *
+     * @param projectName  The name of the project to which the class belongs.
+     *                     It must be a proper prefix of the caller's package.
+     * @param caller       The calling class.
+     *                     This is used to get the package name to further construct
+     *                     the basename as well as to get the proper ClassLoader.
      * @param resourceName The name of the resource without the
-     *        ".properties" extension
-     * 
+     *                     ".properties" extension
      * @throws MissingResourceException if projectName is not a prefix of
-     *         the caller's package name, or if the resource could not be
-     *         found/loaded.
+     *                                  the caller's package name, or if the resource could not be
+     *                                  found/loaded.
      */
     public static ProjectResourceBundle getBundle(String projectName,
-                                                  Class  caller,
+                                                  Class caller,
                                                   String resourceName,
                                                   Locale locale)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         return getBundle(projectName,
-                         caller,
-                         resourceName,
-                         locale,
-                         null);
+                caller,
+                resourceName,
+                locale,
+                null);
     }
 
     /**
      * Construct a new ProjectResourceBundle
-     * 
-     * @param projectName The name of the project to which the class belongs.
-     *        It must be a proper prefix of the caller's package.
-     * 
-     * @param caller The calling class.
-     *        This is used to get the package name to further construct
-     *        the basename as well as to get the proper ClassLoader.
-     * 
+     *
+     * @param projectName  The name of the project to which the class belongs.
+     *                     It must be a proper prefix of the caller's package.
+     * @param caller       The calling class.
+     *                     This is used to get the package name to further construct
+     *                     the basename as well as to get the proper ClassLoader.
      * @param resourceName The name of the resource without the
-     *        ".properties" extension
-     * 
-     * @param locale The locale
-     * 
+     *                     ".properties" extension
+     * @param locale       The locale
      * @throws MissingResourceException if projectName is not a prefix of
-     *         the caller's package name, or if the resource could not be
-     *         found/loaded.
+     *                                  the caller's package name, or if the resource could not be
+     *                                  found/loaded.
      */
     public static ProjectResourceBundle getBundle(String projectName,
                                                   String packageName,
                                                   String resourceName,
                                                   Locale locale,
                                                   ClassLoader loader)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         return getBundle(projectName, packageName, resourceName, locale, loader, null);
     }
 
     /**
      * Construct a new ProjectResourceBundle
-     * 
-     * @param projectName The name of the project to which the class belongs.
-     *        It must be a proper prefix of the caller's package.
-     * 
-     * @param caller The calling class.
-     *        This is used to get the package name to further construct
-     *        the basename as well as to get the proper ClassLoader.
-     * 
-     * @param resourceName The name of the resource without the
-     *        ".properties" extension
-     * 
-     * @param locale The locale
-     * 
+     *
+     * @param projectName   The name of the project to which the class belongs.
+     *                      It must be a proper prefix of the caller's package.
+     * @param caller        The calling class.
+     *                      This is used to get the package name to further construct
+     *                      the basename as well as to get the proper ClassLoader.
+     * @param resourceName  The name of the resource without the
+     *                      ".properties" extension
+     * @param locale        The locale
      * @param extendsBundle If non-null, then this ExtendMessages will
-     *         default to extendsBundle.
-     * 
+     *                      default to extendsBundle.
      * @throws MissingResourceException if projectName is not a prefix of
-     *         the caller's package name, or if the resource could not be
-     *         found/loaded.
+     *                                  the caller's package name, or if the resource could not be
+     *                                  found/loaded.
      */
     public static ProjectResourceBundle getBundle(String projectName,
-                                                  Class  caller,
+                                                  Class caller,
                                                   String resourceName,
                                                   Locale locale,
                                                   ResourceBundle extendsBundle)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         return getBundle(projectName,
-                         getPackage(caller.getClass().getName()),
-                         resourceName,
-                         locale,
-                         caller.getClass().getClassLoader(),
-                         extendsBundle);
+                getPackage(caller.getClass().getName()),
+                resourceName,
+                locale,
+                caller.getClass().getClassLoader(),
+                extendsBundle);
     }
 
     /**
      * Construct a new ProjectResourceBundle
-     * 
-     * @param projectName The name of the project to which the class belongs.
-     *        It must be a proper prefix of the caller's package.
-     * 
-     * @param caller The calling class.
-     *        This is used to get the package name to further construct
-     *        the basename as well as to get the proper ClassLoader.
-     * 
-     * @param resourceName The name of the resource without the
-     *        ".properties" extension
-     * 
-     * @param locale The locale
-     * 
+     *
+     * @param projectName   The name of the project to which the class belongs.
+     *                      It must be a proper prefix of the caller's package.
+     * @param caller        The calling class.
+     *                      This is used to get the package name to further construct
+     *                      the basename as well as to get the proper ClassLoader.
+     * @param resourceName  The name of the resource without the
+     *                      ".properties" extension
+     * @param locale        The locale
      * @param extendsBundle If non-null, then this ExtendMessages will
-     *         default to extendsBundle.
-     * 
+     *                      default to extendsBundle.
      * @throws MissingResourceException if projectName is not a prefix of
-     *         the caller's package name, or if the resource could not be
-     *         found/loaded.
+     *                                  the caller's package name, or if the resource could not be
+     *                                  found/loaded.
      */
     public static ProjectResourceBundle getBundle(String projectName,
                                                   String packageName,
@@ -259,15 +234,14 @@
                                                   Locale locale,
                                                   ClassLoader loader,
                                                   ResourceBundle extendsBundle)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         if (log.isDebugEnabled()) {
             log.debug("getBundle(" + projectName + ","
-                                   + packageName + ","
-                                   + resourceName + ","
-                                   + String.valueOf(locale) + ",...)");
+                    + packageName + ","
+                    + resourceName + ","
+                    + String.valueOf(locale) + ",...)");
         }
-        
+
         Context context = new Context();
         context.setLocale(locale);
         context.setLoader(loader);
@@ -284,13 +258,13 @@
             log.debug("Exception: ", e);
             throw e;
         }
-        
+
         if (bundle == null) {
             throw new MissingResourceException("Cannot find resource '" +
-                                               packageName + '.' + resourceName + "'",
-                                               resourceName, "");
+                    packageName + '.' + resourceName + "'",
+                    resourceName, "");
         }
-        
+
         return bundle;
     }
 
@@ -301,17 +275,16 @@
      * - if at top of hierarchy, use (link to) context.getParentBundle()
      */
     private static synchronized ProjectResourceBundle getBundle(Context context, String packageName)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         String cacheKey = context.getCacheKey(packageName);
-        
-        ProjectResourceBundle prb = (ProjectResourceBundle)bundleCache.get(cacheKey);
+
+        ProjectResourceBundle prb = (ProjectResourceBundle) bundleCache.get(cacheKey);
 
         if (prb == null) {
             String name = packageName + '.' + context.getResourceName();
             ResourceBundle rb = context.loadBundle(packageName);
             ResourceBundle parent = context.getParentBundle(packageName);
-            
+
             if (rb != null) {
                 prb = new ProjectResourceBundle(name, rb);
                 prb.setParent(parent);
@@ -321,7 +294,7 @@
             } else {
                 if (parent != null) {
                     if (parent instanceof ProjectResourceBundle) {
-                        prb = (ProjectResourceBundle)parent;
+                        prb = (ProjectResourceBundle) parent;
                     } else {
                         prb = new ProjectResourceBundle(name, parent);
                     }
@@ -343,17 +316,16 @@
     private static final String getPackage(String name) {
         return name.substring(0, name.lastIndexOf('.')).intern();
     }
-    
+
     /**
-      * Construct a new ProjectResourceBundle
-      */
+     * Construct a new ProjectResourceBundle
+     */
     private ProjectResourceBundle(String name, ResourceBundle bundle)
-        throws MissingResourceException
-    {
+            throws MissingResourceException {
         this.resourceBundle = bundle;
         this.resourceName = name;
     }
-    
+
     public String getResourceName() {
         return resourceName;
     }
@@ -361,11 +333,10 @@
     /**
      * Clears the internal cache
      */
-    public static void clearCache()
-    {
+    public static void clearCache() {
         bundleCache.clear();
     }
-    
+
     public String toString() {
         return resourceName;
     }
@@ -377,7 +348,7 @@
         private String _projectName;
         private String _resourceName;
         private ResourceBundle _parent;
-        
+
         void setLocale(Locale l) {
             /* 1. Docs indicate that if locale is not specified,
              *    then the default local is used in it's place.
@@ -396,38 +367,57 @@
             }
             // END FIX: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16868
         }
-        
-        void setProjectName(String name) { _projectName = name.intern(); }
-        void setResourceName(String name) { _resourceName = name.intern(); }
-        void setParentBundle(ResourceBundle b) { _parent = b; }
-        
-        Locale getLocale() { return _locale; }
-        ClassLoader getLoader() { return _loader; }
-        String getProjectName() { return _projectName; }
-        String getResourceName() { return _resourceName; }
-        ResourceBundle getParentBundle() { return _parent; }
-    
-        String getCacheKey(String packageName)
-        {
+
+        void setProjectName(String name) {
+            _projectName = name.intern();
+        }
+
+        void setResourceName(String name) {
+            _resourceName = name.intern();
+        }
+
+        void setParentBundle(ResourceBundle b) {
+            _parent = b;
+        }
+
+        Locale getLocale() {
+            return _locale;
+        }
+
+        ClassLoader getLoader() {
+            return _loader;
+        }
+
+        String getProjectName() {
+            return _projectName;
+        }
+
+        String getResourceName() {
+            return _resourceName;
+        }
+
+        ResourceBundle getParentBundle() {
+            return _parent;
+        }
+
+        String getCacheKey(String packageName) {
             String loaderName = (_loader == null) ? "" : (":" + _loader.hashCode());
             return packageName + "." + _resourceName + ":" + _locale + ":" + defaultLocale + loaderName;
         }
 
-        ResourceBundle loadBundle(String packageName)
-        {
+        ResourceBundle loadBundle(String packageName) {
             try {
                 return ResourceBundle.getBundle(packageName + '.' + _resourceName,
-                                                _locale,
-                                                _loader);
+                        _locale,
+                        _loader);
             } catch (MissingResourceException e) {
                 // Deliberately surpressing print stack.. just the string for info.
                 log.debug("loadBundle: Ignoring MissingResourceException: " + e.getMessage());
             }
             return null;
         }
-    
-        ResourceBundle getParentBundle(String packageName)
-        {
+
+        ResourceBundle getParentBundle(String packageName) {
             ResourceBundle p;
             if (packageName != _projectName) {
                 p = getBundle(this, getPackage(packageName));
@@ -437,34 +427,33 @@
             }
             return p;
         }
-        
+
         String validate(String packageName)
-            throws MissingResourceException
-        {
-            if (_projectName == null  ||  _projectName.length() == 0) {
+                throws MissingResourceException {
+            if (_projectName == null || _projectName.length() == 0) {
                 log.debug("Project name not specified");
                 throw new MissingResourceException("Project name not specified",
-                                                   "", "");
+                        "", "");
             }
 
-            if (packageName == null  ||  packageName.length() == 0) {
+            if (packageName == null || packageName.length() == 0) {
                 log.debug("Package name not specified");
                 throw new MissingResourceException("Package not specified",
-                                                   packageName, "");
+                        packageName, "");
             }
             packageName = packageName.intern();
     
             /* Ensure that project is a proper prefix of class.
              * Terminate project name with '.' to ensure proper match.
              */
-            if (packageName != _projectName  &&  !packageName.startsWith(_projectName + '.')) {
+            if (packageName != _projectName && !packageName.startsWith(_projectName + '.')) {
                 log.debug("Project not a prefix of Package");
                 throw new MissingResourceException("Project '" + _projectName
-                                 + "' must be a prefix of Package '"
-                                 + packageName + "'",
-                                 packageName + '.' + _resourceName, "");
+                        + "' must be a prefix of Package '"
+                        + packageName + "'",
+                        packageName + '.' + _resourceName, "");
             }
-                
+
             return packageName;
         }
     }