"src/main/git@git.thm.de:pcvl72/arsnova-backend.git" did not exist on "3e969181175873c99250f22f1afffea9b8565f1f"
- Jan 10, 2019
-
-
Daniel Gerhardt authored
Slighly refactored ControllerAdvices to include handling of Spring's HTTP Exceptions. This fixes 500 status codes being sent instead of the correct one. Fixes GH-67.
-
- Aug 12, 2018
-
-
Daniel Gerhardt authored
Consistently use singular for packages which contain mixed kinds of classes. Moved a few classes to packages that better fit them.
-
- Aug 11, 2018
-
-
Daniel Gerhardt authored
-
- Feb 22, 2018
-
-
Daniel Gerhardt authored
-
- May 02, 2017
-
-
Daniel Gerhardt authored
-
- Apr 26, 2017
-
-
Daniel Gerhardt authored
-
- Apr 25, 2017
-
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
Error responses now expose exception details.
-
Daniel Gerhardt authored
Exeption handling was broken by 56fe085e (GH-27).
-
- Mar 27, 2017
-
-
Daniel Gerhardt authored
Additionally, removed unused empty constructor
-
- Feb 14, 2017
-
-
Daniel Gerhardt authored
* Remove unused code * Optimize imports (group 10+ and static imports) * Remove redundant variable assignments * Replace explicit type parameters with <> * Remove redundant catch blocks * Use varargs instead of explicit array instantiation * Weaken visibility of methods and fields * Simplify conditions * Do not use StringBuilder for simple concatenations * Fix code style * Remove invalid Javadoc
-
- Jan 10, 2017
-
-
Daniel Gerhardt authored
-
- Feb 05, 2016
-
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
Daniel Gerhardt authored
-
- Oct 10, 2015
-
-
Paul-Christian Volkmer authored
The default exception handles all excaptions not handled by the following handle methods. It creates a response, containing the HTTP status description and the exception message. This response can be serialized into JSON.
-
- Aug 10, 2015
-
-
Tom Käsler authored
remove spingfox for ApiIgnore direction use swagger-maven-plugin to generate swagger.json before compiling rather than dynamically generate it on request
-
-
- May 27, 2015
-
-
Christoph Thelen authored
-
- May 25, 2015
-
-
Daniel Gerhardt authored
-
- Feb 03, 2015
-
-
Daniel Gerhardt authored
-
- Jan 29, 2015
-
-
Daniel Vogel authored
-
- Jan 17, 2015
-
-
Daniel Gerhardt authored
Updated copyright year and adjusted header format to be consistent over all files and with other ARSnova projects.
-
- Aug 21, 2014
-
-
Set default evaluation result to false and throw an AccessDeniedException. SecurityExceptionControllerAdvice checks if there is an valid login and decides whether to send HTTP 401 or HTTP 403. Conflicts: src/test/java/de/thm/arsnova/controller/AbstractControllerTest.java
-
-
- Jun 02, 2014
-
-
Paul-Christian Volkmer authored
This will send HTTP 501 NOT IMPLEMENTED error in case connector client is used and not available.
-
- May 24, 2014
-
-
Paul-Christian Volkmer authored
-
- May 21, 2014
-
-
Paul-Christian Volkmer authored
-
- Jun 05, 2013
-
-
Paul-Christian Volkmer authored
-
- Feb 12, 2013
-
-
Paul-Christian Volkmer authored
This allows expecting those exceptions in test classes.
-
- Oct 30, 2012
-
-
Paul-Christian Volkmer authored
-
- Oct 28, 2012
-
-
Paul-Christian Volkmer authored
-
- Oct 26, 2012
-
-
Julian Hochstetter authored
-
- Oct 25, 2012
-
-
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.
-
Paul-Christian Volkmer authored
-
Paul-Christian Volkmer authored
-
- Oct 17, 2012
-
-
Paul-Christian Volkmer authored
This checks if there is a user in current security context. If not, an UnauthorizedException is thrown which will result in HTTP - 401.
-
Paul-Christian Volkmer authored
This patch uses AbstractController class to add exception handlers into controllers. These handlers are used to detect some runtime exceptions which can be thrown in any layer e.g. DAO or service layer. They recognize NotFoundException and ForbiddenException. Test classes are able to check if any of these exceptions are thrown during runtime.
-