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
I am probably the only developer ever to have had an orange sized brain tumor in my brain while learning development!!
subject: The choice of extracting commonly used error messages into a utility class. Is this advisable?