posted 15 years ago
In short i want to know if extracting a message like "an IO exception occured" and putting it into an utility class is advisable?
Even though the exception is common to several places it is not really going to improve performance because it is after al an exceptional condition which should rarely occur.
Another question is i see Andrew went the route of taking all the Strings in config.java and declared them at the beginning of the class stating that it allowed for i8n of the Strings. I wish to use i8n in my application but am unsure on how much I should allow to be i8n? Should I code all button,error,label,title,etc texts in a way that they can be internationalized?
SCJP 6.0, SCJD (400/400), SCBCD for JEE 5, SCWCD 1.4 I do videos for development at
http://www.youtube.com/user/thejartender?feature=mhee
I am probably the only developer ever to have had an orange sized brain tumor in my brain while learning development!!