Error : Code too large for try statement

Harish Kumar <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
Hi Guys,

             When i try to generate client stub, i am getting following error. Can any one
suggest how to fix it ? 

This is due to large code size generated by Axis2 which is exceeding limit as per java. 


    [javac] C:\project\src\org\multispeak\www\
version_4_1_release\MDM_ServerStub.java:126405: code too large for try statement

    [javac]         }catch(java.lang.Exception e){
    [javac]          ^
    [javac] C:\project\src\org\multispeak\www\
version_4_1_release\MDM_ServerStub.java:107159: code too large
    [javac]         public org.apache.xmlbeans.XmlObject fromOM(
    [javac]                                              ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors
    [javac] 2 warnings
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.