Skip to content

Commit

Permalink
Fix: Use the correct description text when throwing a ForbiddenException
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasdellschaft committed Sep 12, 2022
1 parent 27562f6 commit e447236
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
public class ForbiddenException extends AbstractCharonException {

public ForbiddenException() {
this(ResponseCodeConstants.DESC_CONFLICT);
this(ResponseCodeConstants.DESC_FORBIDDEN);
}

public ForbiddenException(String exception) {
Expand Down

0 comments on commit e447236

Please sign in to comment.