Changes related to refactoring exceptions. 
Also added junit tests
Changes related to refactoring exceptions.
Changes related to refactoring exceptions.
Changes related to refactoring exceptions.
added currentLanguage which stores currently used language
Changes related to refactoring exceptions.
Changes related to refactoring exceptions.