Skip to content

Commit

Permalink
spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Inderpal Singh committed Mar 21, 2024
1 parent 655aef3 commit 23bf12e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
public class ApplicationNotFoundException extends RuntimeException {

private static final String MESSAGE = "Application %s not found";

public ApplicationNotFoundException(Long applicationId) {
super(MESSAGE.formatted(applicationId));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
public class ApplicationNotInCorrectStateException extends RuntimeException {

private static final String MESSAGE = "Application %s is not in correct state: %s";

public ApplicationNotInCorrectStateException(Long id, String state) {
super(MESSAGE.formatted(id, state));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
public class UserNotApplicantException extends RuntimeException {

private static final String MESSAGE = "User %s is not an applicant for application %s";

public UserNotApplicantException(Long applicationId, String userId) {
super(MESSAGE.formatted(userId, applicationId));
}
Expand Down

0 comments on commit 23bf12e

Please sign in to comment.