• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reason for this exception

 
sanj singh
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
regards
sanj
 
Bosun Bello
Ranch Hand
Posts: 1510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never heard of this one. Is the coe in the try block really that large?

Bosun

 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stack trace please...
- Peter
 
sanj singh
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
regards
sanj
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic