Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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.
 
I like you because you always keep good, crunchy cereal in your pantry. This tiny ad agrees:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic