title: How to display the user friendly error messages for the  property having constraints  in grails
body: <p>I have a property in domain class and which is having some constraints</p>
  
  <pre><code>([([A-Z0-9]{2,4}-)+[0-9]{1,2}]) 
  </code></pre>
  
  <p>pattern. when user enter wrong pattern it displays</p>
  
  <blockquote>
    <p>Property [XXXXX] of class [XXXXX] with value [A1] does not match the required pattern [([A-Z0-9]{2,4}-)+[0-9]{1,2}].</p>
  </blockquote>
  
  <p>Instead i need to display user friendly message,how to do that in grails,because am new to this grails.</p>
  
  <p>Thanks</p>