RE: Error : Code too large for try statement

Martin Gainty <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
you exceeded the JVM max try/catch block size of 64k imposed by the JVM

break  up the try/catch block is the only solution I know of

Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.

 Date: Tue, 2 Apr 2013 13:09:08 -0700
From: [email protected]
Subject: Error : Code too large for try statement
To: [email protected]

Hi Guys,
             When i try to generate client stub, i am getting following error. Can any onesuggest 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.