title: How to handle exceptions within the Play 2 Framework in java
body: <p>How/where should I set up exception handling, so that I can throw a somewhat generic "oops - simply can't deal with this" style of exception and handle it moderately gracefully?</p>
  
  <p>The answer to <a href="https://stackoverflow.com/questions/15657062/play-framework-2-best-way-to-store-password-hash-of-user">this question</a> hints that it should be elegant (AppException), and of course it should but I can't quite figure where the catching should be and how it should cause a subsequent error page render...</p>
  
  <p>(google reveals answers to this in the scala world, but I haven't been able to get my head around what the equivalent is in java).</p>