title: Issue with Size constraint in Grails domain class?
body: <p>I'm newbie to Grails, I've a scenario where I've to restrict the chile elements to 5.</p>
  
  <p>so using size constraint. </p>
  
  <pre><code>static constraints = {
    favoriteEplCircuitIds size 1..5
  } 
   And static hasMany = [favoriteEplCircuitIds: String]
  </code></pre>
  
  <p>Now in my test case I'm expecting 'size.toobig' when i use parent?.errors['child']</p>
  
  <p>but I'm getting a whole Exception  which is too long…how to suppress that?</p>
  
  <p>@Burt: as per your suggestion I used</p>
  
  <pre><code> assert 'size.toobig' == obj.errors.getFieldError('favoriteEplCircuitIds')
  </code></pre>
  
  <p>... but still getting the below long error message.   </p>
  
  <pre><code> Error Message : Field error in object 'com.src.UserSecurity' on field 'favoriteEplCircuitIds': rejected value [[a, b, c, d, e, f]]; 
  codes [com.src.UserSecurity.favoriteEplCircuitIds.size.error.com.src.UserSecurity.favoriteEplCircuitIds,
  com.src.UserSecurity.favoriteEplCircuitIds.size.error.favoriteEplCircuitIds,com.src.UserSecurity.
  favoriteEplCircuitIds.size.error.java.util.Set,com.src.UserSecurity.favoriteEplCircuitIds.size.error,userSecurity.
  favoriteEplCircuitIds.size.error.com.src.UserSecurity.favoriteEplCircuitIds,userSecurity.favoriteEplCircuitIds.size.error.
  favoriteEplCircuitIds,userSecurity.favoriteEplCircuitIds.size.error.java.util.Set,userSecurity.favoriteEplCircuitIds.size.error,
  com.src.UserSecurity.favoriteEplCircuitIds.size.toobig.com.src.UserSecurity.favoriteEplCircuitIds,com.src.
  UserSecurity.favoriteEplCircuitIds.size.toobig.favoriteEplCircuitIds,com.src.UserSecurity.favoriteEplCircuitIds.size.toobig.
  java.util.Set,com.src.UserSecurity.favoriteEplCircuitIds.size.toobig,userSecurity.favoriteEplCircuitIds.size.toobig.com.twc.
  eeportal.UserSecurity.favoriteEplCircuitIds,userSecurity.favoriteEplCircuitIds.size.toobig.favoriteEplCircuitIds,userSecurity.
  favoriteEplCircuitIds.size.toobig.java.util.Set,userSecurity.favoriteEplCircuitIds.size.toobig,size.toobig.com.src.UserSecurity.
  favoriteEplCircuitIds,size.toobig.favoriteEplCircuitIds,size.toobig.java.util.Set,size.toobig]; arguments **[favoriteEplCircuitIds,class 
  com.src.UserSecurity,[a, b, c, d, e, f],0,5]; default message [Property [{0}] of class [{1}] with value [{2}] 
  does not fall within the valid size range from [{3}] to [{4}]]'.**
  </code></pre>