title: How to group exception messages from AssertJ for better reporting?
body: <p>At first, we used TestNG Asserts for all our automation test validations which can throw a predefined error message. The allure report, groups the failures based on the error messages making it very easy to read and understand.</p>
  
  <p>Recently we started to use AssertJ to perform our test validations. This is an awesome framework, but it throws very long exception messages (has more information). The problem is that now my allure report cannot group all these failures, hence reporting them individually making it very hard to read.</p>
  
  <p>I know that we can over-ride AssetJ error messages, but I don't know how to do it for my custom class object field validations. Please guide me on this. Thank you.</p>
  
  <p>To put my question more simply, my current exception message is as below <BR><BR>
  <code>UnrecognizedPropertyException: Unrecognized field "type" (class com.data.files.Files), not marked as ignorable (4 known properties: "name", "hash", "id", "versionId"])
   at [Source: {"id":"2yI94ibmVPI","name":"File01.html","versionId":"xzmnggrX6iQ","hash":"39252a3c0577a4d28da144b414871264","type":"FILE"}; line: 1, column: 1190] (through reference chain: com.data.files.Files["type"])</code></p>
  
  <p>but what I need is just the below message (remaining info can be part of stack trace) <BR> <BR> 
  <code>UnrecognizedPropertyException: Unrecognized field "type" (class com.data.files.Files)</code></p>
  
  <p>what is the easiest way to acheive this?</p>