Should I create private static final String = "Some exception message" or leave it inside the code?
- by Artic
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