title: How do I catch all invalid URLs using JAX-RS?
body: <p>How do I catch these invalid URLs so that I return a proper error resource?</p>
  
  <p>Thanks.</p>
  
  <p>Basically, I want to override the "The resource not found Page." and instead I want to return an XML describing the error.</p>