Added handling bean validation to the rest exception provider.