Konstantina Galouni
e98cf88a13
1. GenericPortalController.java: Added Generic portal controller for handling all portals without type limitation. 2. SimpleErrorController.java: Added /error request mapping, to format all error that are not explicitly handled. 3. AdminToolsLibraryExceptionsHandler.java: Added methods "notFoundException()" (ChangeSetPersister.NotFoundException), "forbiddenException()" (ForbiddenException), "duplicateKeyException()" (DuplicateKeyException). 4. ForbiddenException.java: [NEW] Added class ForbiddenException extends RuntimeException. 5. ExceptionResponse.java: Added field HttpStatus status. 6. SingleValueWrapperResponse.java: [Moved from Admin Tools Service to Admin Tools Library] Generic class SingleValueWrapperResponse created, with field "value" of type defined when instance is created (used for returning single value from API methods). |
||
---|---|---|
.. | ||
ExceptionResponse.java | ||
SingleValueWrapperResponse.java |