added ErrorMessages.java with err msgs as const