title: Localized exceptions in java
body: <p>I have an interface for validation of user's input. To validate I use some standard Java validators and some custom ones. My custom validators throws a ParseException with a localized message on error. But I don't know whether Java or third party lib also uses localized messages. </p>
  
  <p>Question: how I get a hint in catch-block whether the exception has a localized message or not (a standard Java way, not a custom exception class/interface)?</p>