axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/client Call.java
Date Fri, 12 Oct 2001 16:43:12 GMT
dims        01/10/12 09:43:12

  Modified:    java/src/org/apache/axis/client Call.java
  Log:
  We should just throw AxisFault (it extends java.rmi.RemoteException anyways). This will
fix one of the problems in the functional-tests.
  
  Revision  Changes    Path
  1.8       +5 -4      xml-axis/java/src/org/apache/axis/client/Call.java
  
  Index: Call.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/Call.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Call.java	2001/10/11 19:42:05	1.7
  +++ Call.java	2001/10/12 16:43:12	1.8
  @@ -424,7 +424,7 @@
        */
       public Object invoke(Object[] params) throws java.rmi.RemoteException {
           if ( operationName == null )
  -            throw new java.rmi.RemoteException( "No operation name specified" );
  +            throw new AxisFault( "No operation name specified" );
           try {
               String ns = (String) getProperty( Constants.NAMESPACE );
               if ( ns == null )
  @@ -433,7 +433,7 @@
                   return( this.invoke(ns,operationName,getParamList(params)) );
           }
           catch( Exception exp ) {
  -            throw new java.rmi.RemoteException( "Error invoking operation",
  +            throw new AxisFault( "Error invoking operation",
                                                   exp );
           }
       }
  @@ -835,7 +835,7 @@
        * @exception AxisFault
        */
       public void invoke() throws AxisFault {
  -        category.debug("Enter: Service::invoke()" );
  +        category.debug("Enter: Call::invoke()" );
   
           msgContext.reset();
   
  @@ -860,6 +860,7 @@
           else
               msgContext.setTransportName( transportName );
   
  +        category.debug("TargetService:" + msgContext.getTargetService());
           try {
               engine.invoke( msgContext );
   
  @@ -871,7 +872,7 @@
               throw fault ;
           }
   
  -        category.debug("Exit: Service::invoke()" );
  +        category.debug("Exit: Call::invoke()" );
       }
   
       /**
  
  
  

Mime
View raw message