use jersey's web application exception class
fix imports/formatting