• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassValidator class question!

 
jim li
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ClassValidator appValidator = new ClassValidator( App.class , ResourceBundle.getBundle("testClassFolder.errorMessage", Locale.CANADA) );

in the errorMessage.properties file i have:
# This is the default errorMessage.properties file

code = Duplicated table code found


now i want to get the error message of "Duplicated table code found"

when i create/update the table information

but i do not know how to get the message from the errorMessage.properties file

thank you in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic