Skip to content

Commit

Permalink
#13. corrected err handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Schiller-Stoff committed Apr 14, 2022
1 parent ef6ef87 commit c51f0f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
public class ResourceRepositoryException extends ResponseStatusException {

public ResourceRepositoryException(int statusCode, String message ) {
super(HttpStatus.valueOf(statusCode), "Request rejected by ResourceRepository with statuscode: " + statusCode + ". Original cause: " + message);
super(HttpStatus.valueOf(statusCode), message);
}

// public ResourceRepositoryException(String message){
Expand Down

0 comments on commit c51f0f2

Please sign in to comment.