axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7621] New: - [wsdl2java] - Name conflict with java.lang.Exception
Date Fri, 29 Mar 2002 20:57:56 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7621>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7621

[wsdl2java] - Name conflict with java.lang.Exception

           Summary: [wsdl2java] - Name conflict with java.lang.Exception
           Product: Axis
           Version: beta-1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Deployment / Registries
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: PaulStrack@LearningGain.com


If the Wsdl2Java generated code includes a custom "Exception" class, there is a 
name conflict in catch blocks of the getCall() method of the generated 
SoapBindingStub class. In particular, the (catch Exception t) resolves to the 
generated package's Exception, not java.lang.Exception as expected. This should 
be easy to fix by using the fully qualified name java.lang.Exception in the 
generated code.

Mime
View raw message