Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Dont generate try/catch block >>Websphere

 
Ranch Hand
Posts: 46
Hibernate Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using websphere 6.
I need to avoid try/catch blocks in the generated java files.
How to configure my webphere to do not generate try/catch blocks?
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I need to avoid try/catch blocks in the generated java files.


I guess you are talking of java classes generated from JSP. Why would you need to prevent this try/catch blocks ?
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no spec compliant way to do this (that I'm aware of).
I'll move this to our IBM/Websphere forum.
 
Sundararaj Govindasamy
Ranch Hand
Posts: 46
Hibernate Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Christophe
You are right. I am talking about the generated java.I want to avoid "code too large in try block" error.thats why i asked this Question.
I know avoid try/catch block is possible with Weblogic.
But with websphere ???
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you actually encountering this error in WebSphere? Cause I've personally not run across this in the last several releases...

Kyle
 
Sundararaj Govindasamy
Ranch Hand
Posts: 46
Hibernate Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kyle,
Yes . I got "code too large error" with websphere server 6.0 in RAD environment.
 
Lasagna is spaghetti flvored cake. Just like this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!