added exceptions method to get violations