Skip to content
Snippets Groups Projects

Dev

Merged
Martin Weiserequested to merge
dev into master
6 files
+ 42
43
Compare changes
  • Side-by-side
  • Inline

Files

@@ -94,6 +94,13 @@ public class ApiExceptionHandler extends ResponseEntityExceptionHandler {
@@ -94,6 +94,13 @@ public class ApiExceptionHandler extends ResponseEntityExceptionHandler {
return generic_handle(e.getClass(), e.getLocalizedMessage());
return generic_handle(e.getClass(), e.getLocalizedMessage());
}
}
 
@Hidden
 
@ResponseStatus(code = HttpStatus.LOCKED)
 
@ExceptionHandler(ContainerQuotaException.class)
 
public ResponseEntity<ApiErrorDto> handle(ContainerQuotaException e) {
 
return generic_handle(e.getClass(), e.getLocalizedMessage());
 
}
 
@Hidden
@Hidden
@ResponseStatus(code = HttpStatus.FORBIDDEN)
@ResponseStatus(code = HttpStatus.FORBIDDEN)
@ExceptionHandler(CredentialsInvalidException.class)
@ExceptionHandler(CredentialsInvalidException.class)
Loading