wood burning stoves 2.0*
The moose likes Servlets and the fly likes reason for this exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "reason for this exception" Watch "reason for this exception" New topic

reason for this exception

sanj singh
Ranch Hand

Joined: Jun 30, 2001
Posts: 129
Hi All
I am getting an exception in the servlet
"code too large for try statement"
Can anybody please tell me the reason for this.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Never heard of this one. Is the coe in the try block really that large?


So much trouble in the world -- Bob Marley
Peter den Haan
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Stack trace please...
- Peter
sanj singh
Ranch Hand

Joined: Jun 30, 2001
Posts: 129
Thanks Peter and Bosun for your replies.
The problem was that the code in the doGet method exceede 65536 bytes.I had to break down code into different methods.
subject: reason for this exception
Similar Threads
Corba.TRANSACTION_ROLLEDBACK after 3 method invokations
whether the eg overrides or overloads
No data
org.apache.jasper.JasperException: Attribute action invalid for tag link according to TLD
Sqlite exception