Skip to content

Commit

Permalink
Merge pull request #377 from klaasdellschaft/fix-forbiddenexception-d…
Browse files Browse the repository at this point in the history
…escription

Fix: Use the correct description text when throwing a ForbiddenException
  • Loading branch information
lashinijay authored Mar 7, 2025
2 parents 7e15e69 + 177b680 commit e6451b9
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 e6451b9

Please sign in to comment.