title: How to handle REST Exceptions?
body: <p>We are in the middle of a ongoing discussion about how to handle REST exceptions.</p>
  
  <p>Response Content type : JSON</p>
  
  <p>Two solutions we have:</p>
  
  <ol>
  <li>Throw all the unchecked exceptions as a JSON response.</li>
  <li>Send Request Invalid Response code.</li>
  </ol>
  
  <p>Arguments:</p>
  
  <ul>
  <li>When its a error, why return JSON? Just send a invalid response code.</li>
  </ul>
  
  <p>Counter Argument:</p>
  
  <ul>
  <li>Response code are too technical to handle for normal developers.</li>
  </ul>
  
  <p>Whats your say??</p>