axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whitl...@apache.org
Subject cvs commit: xml-axis-wsif/java/src/org/apache/wsif/providers/ejb WSIFDynamicProvider_EJB.java WSIFOperation_EJB.java
Date Wed, 18 Sep 2002 15:38:20 GMT
whitlock    2002/09/18 08:38:20

  Modified:    java/src/org/apache/wsif/providers/jms
                        WSIFDynamicProvider_Jms.java WSIFOperation_Jms.java
               java/src/org/apache/wsif/base WSIFClientProxy.java
                        WSIFDefaultPort.java WSIFServiceImpl.java
                        WSIFDefaultCorrelationService.java
                        WSIFDefaultOperation.java
               java/src/org/apache/wsif/util
                        WSIFCorrelationServiceLocator.java
                        WSIFPluggableProviders.java WSIFUtils.java
               java/src/org/apache/wsif/logging Trc.java
               java/src/org/apache/wsif/wsdl WSIFWSDLLocatorImpl.java
               java/src/org/apache/wsif/util/jms WSIFJMSDestination.java
               java/src/org/apache/wsif/providers/soap/apachesoap
                        WSIFPort_ApacheSOAP.java
                        WSIFOperation_ApacheSOAP.java
                        WSIFDynamicProvider_ApacheSOAP.java
               java/src/org/apache/wsif/providers WSIFDynamicTypeMap.java
               java/src/org/apache/wsif/providers/soap/apacheaxis
                        WSIFDynamicProvider_ApacheAxis.java
                        WSIFOperation_ApacheAxis.java
               java/src/org/apache/wsif/providers/java
                        WSIFOperation_Java.java
               java/src/org/apache/wsif/providers/ejb
                        WSIFDynamicProvider_EJB.java WSIFOperation_EJB.java
  Log:
  Quietly trace ignored exceptions
  
  Revision  Changes    Path
  1.7       +2 -2      xml-axis-wsif/java/src/org/apache/wsif/providers/jms/WSIFDynamicProvider_Jms.java
  
  Index: WSIFDynamicProvider_Jms.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/jms/WSIFDynamicProvider_Jms.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- WSIFDynamicProvider_Jms.java	7 Aug 2002 15:10:25 -0000	1.6
  +++ WSIFDynamicProvider_Jms.java	18 Sep 2002 15:38:18 -0000	1.7
  @@ -165,7 +165,7 @@
                           true,
                           Thread.currentThread().getContextClassLoader());
                   } catch (Throwable ignored) {
  -                   	Trc.exception(ignored);
  +                   	Trc.ignoredException(ignored);
                   }
                   return null;
               }
  @@ -188,7 +188,7 @@
                           true,
                           Thread.currentThread().getContextClassLoader());
                   } catch (Throwable ignored) {
  -                  	Trc.exception(ignored);
  +                  	Trc.ignoredException(ignored);
                   }
                   return null;
               }
  
  
  
  1.25      +9 -9      xml-axis-wsif/java/src/org/apache/wsif/providers/jms/WSIFOperation_Jms.java
  
  Index: WSIFOperation_Jms.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/jms/WSIFOperation_Jms.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- WSIFOperation_Jms.java	16 Sep 2002 07:31:09 -0000	1.24
  +++ WSIFOperation_Jms.java	18 Sep 2002 15:38:18 -0000	1.25
  @@ -543,7 +543,7 @@
   			     WSIFConstants.JMS_PROP_OPERATION_NAME, value );
   		   }
   	    } catch (WSIFException ex) {
  -	    	Trc.exception(ex);
  +	    	Trc.ignoredException(ex);
   	    }
   
   	    try {
  @@ -554,7 +554,7 @@
   			     WSIFConstants.JMS_PROP_INPUT_NAME, value );
   		   }
   	    } catch (WSIFException ex) {
  -	    	Trc.exception(ex);
  +	    	Trc.ignoredException(ex);
   	    }
   
   	    try {
  @@ -565,7 +565,7 @@
   			     WSIFConstants.JMS_PROP_OUTPUT_NAME, value );
   		   }
   	    } catch (WSIFException ex) {
  -	    	Trc.exception(ex);
  +	    	Trc.ignoredException(ex);
   	    }
   
   		// propertyValues from jms:address
  @@ -575,7 +575,7 @@
   		      setJMSPropertyValues(ja.getJMSPropertyValues());
              }
           } catch (WSIFException ex) {
  -	    	Trc.exception(ex);
  +	    	Trc.ignoredException(ex);
   	    }
   
   		// properties from the context
  @@ -586,7 +586,7 @@
               try {
                   setJmsPropertyValues(fieldInputJmsPropertyValues);
               } catch (WSIFException ex) {
  -                Trc.exception(ex);
  +                Trc.ignoredException(ex);
               }
           }
       } 
  @@ -609,7 +609,7 @@
                       propertyValue = (String) jmsDest.getProperty(propertyName);
                       output.setObjectPart(partName, propertyValue);
                   } catch (WSIFException ex) {
  -                    Trc.exception(ex);
  +                    Trc.ignoredException(ex);
                   }
               }
           }
  @@ -758,7 +758,7 @@
   					primitiveType = constructor.newInstance(new Object[] {value});
   				}
   				catch (Exception e) {
  -	              	Trc.exception(e);
  +	              	Trc.ignoredException(e);
   				}
   			}
   		}
  @@ -785,7 +785,7 @@
                       return t;
                   }
               } catch (ClassCastException exn) {
  -              	Trc.exception(exn);
  +              	Trc.ignoredException(exn);
               }
           }
           Trc.exit(JMSConstants.MESSAGE_TYPE_NOTSET);
  @@ -832,7 +832,7 @@
                               WSIFConstants.CONTEXT_JMS_PREFIX.length()),
                           context.getObjectPart(partName));
                   } catch (WSIFException ex) {
  -                    Trc.exception(ex);
  +                    Trc.ignoredException(ex);
                   }
               }
           }
  
  
  
  1.5       +1 -1      xml-axis-wsif/java/src/org/apache/wsif/base/WSIFClientProxy.java
  
  Index: WSIFClientProxy.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/base/WSIFClientProxy.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- WSIFClientProxy.java	7 Aug 2002 15:10:25 -0000	1.4
  +++ WSIFClientProxy.java	18 Sep 2002 15:38:18 -0000	1.5
  @@ -462,7 +462,7 @@
                                       exactMatchThisArg = true;
                               }
                           } catch (ClassNotFoundException ignored) {
  -                        	Trc.exception(ignored);
  +                        	Trc.ignoredException(ignored);
                           }
                   }
   
  
  
  
  1.5       +1 -1      xml-axis-wsif/java/src/org/apache/wsif/base/WSIFDefaultPort.java
  
  Index: WSIFDefaultPort.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/base/WSIFDefaultPort.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- WSIFDefaultPort.java	19 Jul 2002 15:46:29 -0000	1.4
  +++ WSIFDefaultPort.java	18 Sep 2002 15:38:18 -0000	1.5
  @@ -89,7 +89,7 @@
     	    try {
     	        close();
     	    } catch (WSIFException ex) {
  -            Trc.exception( ex );
  +            Trc.ignoredException( ex );
     	    }
           super.finalize();
     	    Trc.exit();
  
  
  
  1.28      +6 -6      xml-axis-wsif/java/src/org/apache/wsif/base/WSIFServiceImpl.java
  
  Index: WSIFServiceImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/base/WSIFServiceImpl.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- WSIFServiceImpl.java	17 Sep 2002 14:33:14 -0000	1.27
  +++ WSIFServiceImpl.java	18 Sep 2002 15:38:18 -0000	1.28
  @@ -749,10 +749,10 @@
                           (ExtensibilityElement) addressExList.get(0);
                       addressNS = addressFirstEx.getElementType().getNamespaceURI();
                   } catch (NullPointerException npe) {
  -		        	Trc.exception(npe);
  +		        	Trc.ignoredException(npe);
   					// ignore
                   } catch (ArrayIndexOutOfBoundsException aie) {
  -		        	Trc.exception(aie);
  +		        	Trc.ignoredException(aie);
   					// Extensibility element 0 does not exist
   					// Allow address namespace to be the same as binding
                   }
  @@ -765,12 +765,12 @@
                      }
                   }
               } catch (NullPointerException e) {
  -	        	Trc.exception(e);
  +	        	Trc.ignoredException(e);
                   // Binding or extensibility element or QName was null
                   // any of which means something's not right with
                   // the port so don't include it.
               } catch (ArrayIndexOutOfBoundsException aie) {
  -	        	Trc.exception(aie);
  +	        	Trc.ignoredException(aie);
   				// Extensibility element 0 does not exist
               }
           }
  @@ -852,7 +852,7 @@
                               s2j2001.createJavaMapping(schemaEl, typeReg);
                       }
                   } catch (Exception e) {
  -		        	Trc.exception(e);
  +		        	Trc.ignoredException(e);
                       //ignored
                   }
               }
  @@ -890,7 +890,7 @@
                                   Class.forName(className, true, Thread.currentThread().getContextClassLoader());
                           } catch (ClassNotFoundException e) {
                               // Ignore error - mapping will not be added
  -                            Trc.exception(e);
  +                            Trc.ignoredException(e);
                           }
                           // Create a new mapping but don't override one that already exists
for this element type
                           if (clazz != null) {
  
  
  
  1.8       +2 -2      xml-axis-wsif/java/src/org/apache/wsif/base/WSIFDefaultCorrelationService.java
  
  Index: WSIFDefaultCorrelationService.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/base/WSIFDefaultCorrelationService.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- WSIFDefaultCorrelationService.java	5 Sep 2002 14:02:23 -0000	1.7
  +++ WSIFDefaultCorrelationService.java	18 Sep 2002 15:38:18 -0000	1.8
  @@ -222,7 +222,7 @@
   					try {
   						sleep(WSIFConstants.CORRELATION_TIMEOUT_DELAY);
   					} catch (InterruptedException ex) {
  -						Trc.exception(ex);
  +						Trc.ignoredException(ex);
   					}
   					checkForTimeouts();
   				}
  @@ -252,7 +252,7 @@
   				}
   			}
   		} catch (ConcurrentModificationException ex) {
  -			Trc.exception(ex);
  +			Trc.ignoredException(ex);
   		} // ignore this, get the others next time
   
   		if (expiredKeys.size() > 0) {
  
  
  
  1.13      +3 -3      xml-axis-wsif/java/src/org/apache/wsif/base/WSIFDefaultOperation.java
  
  Index: WSIFDefaultOperation.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/base/WSIFDefaultOperation.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- WSIFDefaultOperation.java	16 Sep 2002 07:31:08 -0000	1.12
  +++ WSIFDefaultOperation.java	18 Sep 2002 15:38:18 -0000	1.13
  @@ -170,7 +170,7 @@
                   msg.setMessageDefinition(
                       getOperation().getInput().getMessage());
               } catch (Exception e) {
  -                Trc.exception(e);
  +                Trc.ignoredException(e);
               }
           }
           Trc.exit(msg);
  @@ -200,7 +200,7 @@
                   msg.setMessageDefinition(
                       getOperation().getOutput().getMessage());
               } catch (Exception e) {
  -                Trc.exception(e);
  +                Trc.ignoredException(e);
               }
           }
           Trc.exit(msg);
  @@ -230,7 +230,7 @@
                   msg.setMessageDefinition(
                       getOperation().getFault(name).getMessage());
               } catch (Exception e) {
  -                Trc.exception(e);
  +                Trc.ignoredException(e);
               }
           }
           Trc.exit(msg);
  
  
  
  1.5       +1 -1      xml-axis-wsif/java/src/org/apache/wsif/util/WSIFCorrelationServiceLocator.java
  
  Index: WSIFCorrelationServiceLocator.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/util/WSIFCorrelationServiceLocator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- WSIFCorrelationServiceLocator.java	19 Jul 2002 15:46:30 -0000	1.4
  +++ WSIFCorrelationServiceLocator.java	18 Sep 2002 15:38:19 -0000	1.5
  @@ -103,7 +103,7 @@
                   cs = (WSIFCorrelationService) o;
               }
           } catch (Exception ex) {
  -            Trc.exception(ex);
  +            Trc.ignoredException(ex);
           } finally {
               if (cs == null) {
                   cs = new WSIFDefaultCorrelationService();
  
  
  
  1.5       +1 -1      xml-axis-wsif/java/src/org/apache/wsif/util/WSIFPluggableProviders.java
  
  Index: WSIFPluggableProviders.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/util/WSIFPluggableProviders.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- WSIFPluggableProviders.java	16 Sep 2002 08:18:55 -0000	1.4
  +++ WSIFPluggableProviders.java	18 Sep 2002 15:38:19 -0000	1.5
  @@ -472,7 +472,7 @@
                   }
               }
           } catch (NumberFormatException e) { // ignore any error
  -        	Trc.exception(e);
  +        	Trc.ignoredException(e);
           } // ignore any error
           return false;
       }
  
  
  
  1.14      +2 -2      xml-axis-wsif/java/src/org/apache/wsif/util/WSIFUtils.java
  
  Index: WSIFUtils.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/util/WSIFUtils.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- WSIFUtils.java	28 Aug 2002 13:15:25 -0000	1.13
  +++ WSIFUtils.java	18 Sep 2002 15:38:19 -0000	1.14
  @@ -155,7 +155,7 @@
                           true,
                           Thread.currentThread().getContextClassLoader());
                   } catch (Throwable ignored) {
  -                    Trc.exception(ignored);
  +                    Trc.ignoredException(ignored);
                   }
                   return null;
               }
  @@ -1015,7 +1015,7 @@
                   if (segments.get(0).equals(url.getProtocol()))
                       segments.remove(0);
               } catch (MalformedURLException exn) {
  -                Trc.exception(exn);
  +                Trc.ignoredException(exn);
               }
           }
           Trc.exit(segments);
  
  
  
  1.7       +14 -0     xml-axis-wsif/java/src/org/apache/wsif/logging/Trc.java
  
  Index: Trc.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/logging/Trc.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Trc.java	19 Aug 2002 14:25:13 -0000	1.6
  +++ Trc.java	18 Sep 2002 15:38:19 -0000	1.7
  @@ -605,6 +605,20 @@
           }
       }
   
  +    public static void ignoredException(Throwable exception) {
  +        try {
  +            if (!ON)
  +                return;
  +            traceIt(
  +                null,
  +                "Ignoring expected exception",
  +                false,
  +                new Object[] { exception.toString()});
  +        } catch (Exception e) {
  +            exceptionInTrace(e);
  +        }
  +    }
  +
       public static void exceptionInTrace(Exception exception) {
           try {
               log.debug("****** Exception in WSIF trace statement ******",exception);
  
  
  
  1.9       +1 -1      xml-axis-wsif/java/src/org/apache/wsif/wsdl/WSIFWSDLLocatorImpl.java
  
  Index: WSIFWSDLLocatorImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/wsdl/WSIFWSDLLocatorImpl.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- WSIFWSDLLocatorImpl.java	7 Aug 2002 15:10:26 -0000	1.8
  +++ WSIFWSDLLocatorImpl.java	18 Sep 2002 15:38:19 -0000	1.9
  @@ -139,7 +139,7 @@
                           in = loader.getResourceAsStream(wsdlRelativeLocation); 
                           baseReader = new InputStreamReader(in); 
                       } catch (Exception exc) { 
  -			        	Trc.exception(exc);
  +			        	Trc.ignoredException(exc);
                       } 
                   } 
                   if (baseReader == null) { 
  
  
  
  1.7       +1 -1      xml-axis-wsif/java/src/org/apache/wsif/util/jms/WSIFJMSDestination.java
  
  Index: WSIFJMSDestination.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/util/jms/WSIFJMSDestination.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- WSIFJMSDestination.java	7 Aug 2002 15:10:26 -0000	1.6
  +++ WSIFJMSDestination.java	18 Sep 2002 15:38:19 -0000	1.7
  @@ -375,7 +375,7 @@
                   if (rec != null)
                       rec.close();
               } catch (Exception ignored) {
  -	        	Trc.exception(ignored);
  +	        	Trc.ignoredException(ignored);
               }
           }
   
  
  
  
  1.17      +3 -3      xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apachesoap/WSIFPort_ApacheSOAP.java
  
  Index: WSIFPort_ApacheSOAP.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apachesoap/WSIFPort_ApacheSOAP.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- WSIFPort_ApacheSOAP.java	9 Sep 2002 09:54:41 -0000	1.16
  +++ WSIFPort_ApacheSOAP.java	18 Sep 2002 15:38:19 -0000	1.17
  @@ -362,7 +362,7 @@
                               Thread.currentThread().getContextClassLoader())
                           .newInstance();
               } catch (Throwable ignored) {
  -	        	Trc.exception(ignored);
  +	        	Trc.ignoredException(ignored);
               }
   
           Serializer literalSerializer = partSer;
  @@ -389,7 +389,7 @@
               try {
                   ser = theSMR.querySerializer(javaClass, soapEncoding);
               } catch (IllegalArgumentException iae) {
  -	        	Trc.exception(iae);
  +	        	Trc.ignoredException(iae);
               }            
               // Only add a mapping if a serializer does not already exist
               if (ser == null) {
  @@ -406,7 +406,7 @@
                   ser = null;
                   ser = theSMR.querySerializer(javaClass, LITERAL_ENCODING);
               } catch (IllegalArgumentException iae) {
  -	        	Trc.exception(iae);
  +	        	Trc.ignoredException(iae);
               }
               // Only add a mapping if a serializer does not already exist
               if (ser == null) {
  
  
  
  1.26      +12 -8     xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apachesoap/WSIFOperation_ApacheSOAP.java
  
  Index: WSIFOperation_ApacheSOAP.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apachesoap/WSIFOperation_ApacheSOAP.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- WSIFOperation_ApacheSOAP.java	18 Sep 2002 14:34:07 -0000	1.25
  +++ WSIFOperation_ApacheSOAP.java	18 Sep 2002 15:38:19 -0000	1.26
  @@ -317,7 +317,7 @@
                   try {
                       types[i] = (Class) mapOfUserTypes.get(qname);
                   } catch (Throwable ignored) {
  -                    Trc.exception(ignored);
  +                    Trc.ignoredException(ignored);
                   }
                   if (types[i] == null) {
                       try {
  @@ -351,6 +351,7 @@
                                       beanSer);
                                   mapSubtypes(inputClass, beanSer, smr);
                               } catch (ClassNotFoundException exn1) {
  +                            	Trc.ignoredException(exn1);
                               }
                           }
                       }
  @@ -396,7 +397,7 @@
                   try {
                       returnType = (Class) mapOfUserTypes.get(qname);
                   } catch (Throwable ignored) {
  -                    Trc.exception(ignored);
  +                    Trc.ignoredException(ignored);
                   }
   
                   if (returnType == null) {
  @@ -430,6 +431,7 @@
                                       beanSer);
                                   mapSubtypes(returnType, beanSer, smr);
                               } catch (ClassNotFoundException exn1) {
  +                            	Trc.ignoredException(exn1);
                               }
                           }
                       }
  @@ -459,6 +461,7 @@
           try {
               beanInfo = Introspector.getBeanInfo(javaType);
           } catch (IntrospectionException e) {
  +        	Trc.ignoredException(e);
           }
   
           if (beanInfo != null) {
  @@ -472,6 +475,7 @@
                                   propType,
                                   Constants.NS_URI_SOAP_ENC);
                       } catch (IllegalArgumentException exn) {
  +                    	Trc.exception(exn);
                           // not found in the registry - complex type, not registered
                           // before
                           if (!propType.equals(Class.class)) {
  @@ -696,9 +700,9 @@
                       partSerializer =
                           (PartSerializer) tmp.getClass().newInstance();
                   } catch (InstantiationException e) {
  -                    Trc.exception(e);
  +                    Trc.ignoredException(e);
                   } catch (IllegalAccessException e) {
  -                    Trc.exception(e);
  +                    Trc.ignoredException(e);
                   }
                   partSerializer.setPart(part);
                   Part modelPart =
  @@ -806,9 +810,9 @@
                       partSerializer =
                           (PartSerializer) tmp.getClass().newInstance();
                   } catch (InstantiationException e) {
  -                    Trc.exception(e);
  +                    Trc.ignoredException(e);
                   } catch (IllegalAccessException e) {
  -                    Trc.exception(e);
  +                    Trc.ignoredException(e);
                   }
                   partSerializer.setPartQName(partType);
                   partSerializer.unmarshall(null, null, element, null, null);
  @@ -1425,7 +1429,7 @@
                               WSIFConstants.CONTEXT_JMS_PREFIX.length()),
                           context.getObjectPart(partName));
                   } catch (WSIFException ex) {
  -                    Trc.exception(ex);
  +                    Trc.ignoredException(ex);
                   }
               }
           }
  @@ -1480,7 +1484,7 @@
                   addSOAPHeader(call, name, (List) o);
               }
           } catch (WSIFException ex) {
  -            Trc.exception(ex);
  +            Trc.ignoredException(ex);
           }
       }
   
  
  
  
  1.6       +3 -3      xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apachesoap/WSIFDynamicProvider_ApacheSOAP.java
  
  Index: WSIFDynamicProvider_ApacheSOAP.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apachesoap/WSIFDynamicProvider_ApacheSOAP.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- WSIFDynamicProvider_ApacheSOAP.java	7 Aug 2002 15:10:25 -0000	1.5
  +++ WSIFDynamicProvider_ApacheSOAP.java	18 Sep 2002 15:38:19 -0000	1.6
  @@ -197,7 +197,7 @@
                           true,
                           Thread.currentThread().getContextClassLoader());
                   } catch (Throwable ignored) {
  -                   	Trc.exception(ignored);
  +                   	Trc.ignoredException(ignored);
                   }
                   return null;
               }
  @@ -221,7 +221,7 @@
                           true,
                           Thread.currentThread().getContextClassLoader());
                   } catch (Throwable ignored) {
  -                  	Trc.exception(ignored);
  +                  	Trc.ignoredException(ignored);
                   }
                   return null;
               }
  @@ -241,7 +241,7 @@
                           true,
                           Thread.currentThread().getContextClassLoader());
                   } catch (Throwable ignored) {
  -                 	Trc.exception(ignored);
  +                 	Trc.ignoredException(ignored);
                   }
                   return null;
               }
  
  
  
  1.7       +2 -4      xml-axis-wsif/java/src/org/apache/wsif/providers/WSIFDynamicTypeMap.java
  
  Index: WSIFDynamicTypeMap.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/WSIFDynamicTypeMap.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- WSIFDynamicTypeMap.java	17 Sep 2002 14:33:14 -0000	1.6
  +++ WSIFDynamicTypeMap.java	18 Sep 2002 15:38:19 -0000	1.7
  @@ -174,7 +174,7 @@
                   mapType(qn, cl);
               }
           } catch (Exception e) {
  -        	Trc.exception(e);
  +        	Trc.ignoredException(e);
               //ignore
           }
           Trc.exit();
  @@ -199,7 +199,6 @@
           Trc.exit();
           return typeMapList.iterator();
       }
  -    
       /**
        * Produce a copy of the WSIFDynamicTypeMap. This is not a clone;
        * the copy will contain references to the same WSIFDynamicTypeMappings.
  @@ -223,5 +222,4 @@
               }
               return tm;
           }
  -    }
  -}
  \ No newline at end of file
  +    }}
  \ No newline at end of file
  
  
  
  1.6       +3 -3      xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFDynamicProvider_ApacheAxis.java
  
  Index: WSIFDynamicProvider_ApacheAxis.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFDynamicProvider_ApacheAxis.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- WSIFDynamicProvider_ApacheAxis.java	7 Aug 2002 15:10:25 -0000	1.5
  +++ WSIFDynamicProvider_ApacheAxis.java	18 Sep 2002 15:38:20 -0000	1.6
  @@ -158,7 +158,7 @@
                           true,
                           Thread.currentThread().getContextClassLoader());
                   } catch (Throwable ignored) {
  -                  	Trc.exception(ignored);
  +                  	Trc.ignoredException(ignored);
                   }
                   return null;
               }
  @@ -182,7 +182,7 @@
                           true,
                           Thread.currentThread().getContextClassLoader());
                   } catch (Throwable ignored) {
  -		        	Trc.exception(ignored);
  +		        	Trc.ignoredException(ignored);
                   }
                   return null;
               }
  @@ -202,7 +202,7 @@
                           true,
                           Thread.currentThread().getContextClassLoader());
                   } catch (Throwable ignored) {
  -                 	Trc.exception(ignored);
  +                 	Trc.ignoredException(ignored);
                   }
                   return null;
               }
  
  
  
  1.23      +4 -4      xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFOperation_ApacheAxis.java
  
  Index: WSIFOperation_ApacheAxis.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFOperation_ApacheAxis.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- WSIFOperation_ApacheAxis.java	16 Sep 2002 07:31:09 -0000	1.22
  +++ WSIFOperation_ApacheAxis.java	18 Sep 2002 15:38:20 -0000	1.23
  @@ -979,7 +979,7 @@
                   jmsProps.put( partName.substring( WSIFConstants.CONTEXT_JMS_PREFIX.length()
), 
                                 context.getObjectPart( partName ) );
                } catch (WSIFException ex) {
  -	        	Trc.exception(ex);
  +	        	Trc.ignoredException(ex);
                }
             } 
          }
  @@ -1005,7 +1005,7 @@
                 addHTTPHeader( call, name, (String)o );
              }           	
           } catch (WSIFException ex) {
  -        	Trc.exception(ex);
  +        	Trc.ignoredException(ex);
           }      
   
           name = WSIFConstants.CONTEXT_HTTP_PSWD;
  @@ -1015,7 +1015,7 @@
                 addHTTPHeader( call, name, (String)o );
              }           	
           } catch (WSIFException ex) {
  -        	Trc.exception(ex);
  +        	Trc.ignoredException(ex);
           }      
   
           try {
  @@ -1025,7 +1025,7 @@
                 addSOAPHeader( call, name, (List)o );           	
              }           	
           } catch (WSIFException ex) {
  -        	Trc.exception(ex);
  +        	Trc.ignoredException(ex);
           }      
       }
   
  
  
  
  1.19      +8 -8      xml-axis-wsif/java/src/org/apache/wsif/providers/java/WSIFOperation_Java.java
  
  Index: WSIFOperation_Java.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/java/WSIFOperation_Java.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- WSIFOperation_Java.java	4 Sep 2002 18:23:50 -0000	1.18
  +++ WSIFOperation_Java.java	18 Sep 2002 15:38:20 -0000	1.19
  @@ -956,7 +956,7 @@
                           invokedOK = true;
                           break;
                       } catch (IllegalArgumentException ia) {
  -                    	Trc.exception(ia);
  +                    	Trc.ignoredException(ia);
                           // Ignore and try next constructor
                       }
                   }
  @@ -1008,7 +1008,7 @@
                               invokedOK = true;
                               break;
                           } catch (IllegalArgumentException ia) {
  -                           	Trc.exception(ia);
  +                           	Trc.ignoredException(ia);
                               // Ignore and try next method
                           }
                       }
  @@ -1062,7 +1062,7 @@
                               invokedOK = true;
                               break;
                           } catch (IllegalArgumentException ia) {
  -                          	Trc.exception(ia);
  +                          	Trc.ignoredException(ia);
                               // Ignore and try next method
                           }
                       }
  @@ -1094,7 +1094,7 @@
                               			}
                               		}
                               	} catch (WSIFException e) {
  -                                	Trc.exception(e);
  +                                	Trc.ignoredException(e);
                               		//ignore
                               	}
                               }
  @@ -1139,7 +1139,7 @@
                               operationSucceeded = false;
                           }
                       } catch (Exception exc) { // Nothing to do - just try the next one...
  -                    	Trc.exception(exc);
  +                    	Trc.ignoredException(exc);
                       }
                   }
                   if (!found) {
  @@ -1233,7 +1233,7 @@
                           invokedOK = true;
                           break;
                       } catch (IllegalArgumentException ia) {
  -                    	Trc.exception(ia);
  +                    	Trc.ignoredException(ia);
                           // Ignore and try next constructor
                       }
                   }
  @@ -1271,7 +1271,7 @@
                               invokedOK = true;
                               break;
                           } catch (IllegalArgumentException ia) {
  -                        	Trc.exception(ia);
  +                        	Trc.ignoredException(ia);
                               // Ignore and try next method
                           }
                       }
  @@ -1312,7 +1312,7 @@
                               invokedOK = true;
                               break;
                           } catch (IllegalArgumentException ia) {
  -                        	Trc.exception(ia);
  +                        	Trc.ignoredException(ia);
                               // Ignore and try next method
                           }
                       }
  
  
  
  1.7       +2 -2      xml-axis-wsif/java/src/org/apache/wsif/providers/ejb/WSIFDynamicProvider_EJB.java
  
  Index: WSIFDynamicProvider_EJB.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/ejb/WSIFDynamicProvider_EJB.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- WSIFDynamicProvider_EJB.java	7 Aug 2002 15:10:26 -0000	1.6
  +++ WSIFDynamicProvider_EJB.java	18 Sep 2002 15:38:20 -0000	1.7
  @@ -163,7 +163,7 @@
                           true,
                           Thread.currentThread().getContextClassLoader());
                   } catch (Throwable ignored) {
  -                  	Trc.exception(ignored);
  +                  	Trc.ignoredException(ignored);
                   }
                   return null;
               }
  @@ -186,7 +186,7 @@
                           true,
                           Thread.currentThread().getContextClassLoader());
                   } catch (Throwable ignored) {
  -                  	Trc.exception(ignored);
  +                  	Trc.ignoredException(ignored);
                   }
                   return null;
               }
  
  
  
  1.17      +10 -10    xml-axis-wsif/java/src/org/apache/wsif/providers/ejb/WSIFOperation_EJB.java
  
  Index: WSIFOperation_EJB.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/ejb/WSIFOperation_EJB.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- WSIFOperation_EJB.java	6 Sep 2002 14:09:56 -0000	1.16
  +++ WSIFOperation_EJB.java	18 Sep 2002 15:38:20 -0000	1.17
  @@ -949,8 +949,8 @@
                           invokedOK = true;
                           break;
                       } catch (IllegalArgumentException ia) {
  -                        Trc.exception(ia);
  -                        // Ingore and try next method
  +                        Trc.ignoredException(ia);
  +                        // Ignore and try next method
                       }
                       // Side effect: Initialize port's object reference 
                   } else {
  @@ -1032,7 +1032,7 @@
                                                   }
                                               }
                                           } catch (WSIFException e) {
  -                                         	Trc.exception(e);
  +                                         	Trc.ignoredException(e);
                                               //ignore
                                           }
                                       }
  @@ -1041,7 +1041,7 @@
                           }
                           break;
                       } catch (IllegalArgumentException ia) {
  -                       	Trc.exception(ia);
  +                       	Trc.ignoredException(ia);
                           // Ingore and try next method
                       }
                   }
  @@ -1092,7 +1092,7 @@
                               operationSucceeded = false;
                           }
                       } catch (Exception exc) {
  -                    	Trc.exception(exc);
  +                    	Trc.ignoredException(exc);
                           // Nothing to do - just try the next one...
                       }
                   }
  @@ -1160,7 +1160,7 @@
                           arguments[i] = part;
                           foundInputParameter = true;
                       } catch (WSIFException e) {
  -                    	Trc.exception(e);
  +                    	Trc.ignoredException(e);
                       }
   
                       if (!foundInputParameter) {
  @@ -1209,8 +1209,8 @@
                           invokedOK = true;
                           break;
                       } catch (IllegalArgumentException ia) {
  -                     	Trc.exception(ia);
  -                        // Ingore and try next method
  +                     	Trc.ignoredException(ia);
  +                        // Ignore and try next method
                       }
                       // Side effect: Initialize port's object reference 
                   } else {
  @@ -1243,8 +1243,8 @@
                           invokedOK = true;
                           break;
                       } catch (IllegalArgumentException ia) {
  -                     	Trc.exception(ia);
  -                        // Ingore and try next method
  +                     	Trc.ignoredException(ia);
  +                        // Ignore and try next method
                       }
                   }
               }
  
  
  

Mime
View raw message