Should I create private static final String = "Some exception message" or leave it inside the code?

Posted by Artic on Stack Overflow See other posts from Stack Overflow or by Artic
Published on 2010-03-16T14:27:54Z Indexed on 2010/03/16 14:36 UTC
Read the original article Hit count: 244

Filed under:
|

Should I create private static final String = "Some exception message" or leave it inside the code? Is there any performance issues? I have a lot of exception cases. Texts are mostly different in any particular case. Wary about performance and memory issues

© Stack Overflow or respective owner

Related posts about java

Related posts about exception-handling