Skip to content
Snippets Groups Projects
  1. Jan 29, 2015
  2. Oct 25, 2012
    • Paul-Christian Volkmer's avatar
      Added NoContentException and fixed NullPointerExceptions · 9addb7c2
      Paul-Christian Volkmer authored
      The new NoContentException should indicate, that there is no error, but
      the server could not provide a response object. This will result in
      HTTP Code 204 - NO CONTENT => see RFC2616
      
      Fixed two NullPointerExceptions wich might occure in QuestionService or
      by using CouchDBDao from QuestionService.
      9addb7c2
  3. Oct 16, 2012
    • Paul-Christian Volkmer's avatar
      Use exceptions instead of checking for null to send correct http code · 6508a634
      Paul-Christian Volkmer authored
      If a session was not found in database this will result in http 404,
      if the session is not accessable for the current user the request will
      result in http 403.
      
      The old behavior was to check for null. This was the response if the
      session was not found or the current user could not access this session
      (not owner and inactive sessions). Both ended up with http 404 - not found.
      6508a634