Monday, April 25, 2005 11:16 PM
The best practice is to create individual sub-class of ApplicationExcetpion and every exception class should contain a number which a property file can be maintained for display message which work for i18n.
If you dont want to create multiple Exception class then then a workaround can be like every exception you create pass a ID (int/long data typed). And same a property file can managed to get message.
Hope my answer will help you.