private String getHumanMessage ( final Set < ConstraintViolation < T > > requestConstraintViolations ) { return requestConstraintViolations . stream ( ) . sorted ( ( p1 , p2 ) -> p1 . getPropertyPath ( ) . toString ( ) . compareTo ( p2 . getPropertyPath ( ) . toString ( ) ) ) . map ( p -> p . getPropertyPath ( ) . toString ( ) + " " + p . getMessage ( ) ) . collect ( Collectors . joining ( ", " ) ) ; }
Gets the human message .