Skip to content

Commit

Permalink
Parameter validation - completed
Browse files Browse the repository at this point in the history
  • Loading branch information
mjunkin committed Dec 4, 2024
1 parent 7fd47af commit 8e3f10c
Show file tree
Hide file tree
Showing 21 changed files with 1,223 additions and 528 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@

import java.util.List;

import ca.bc.gov.nrs.vdyp.backend.model.v1.ValidationMessage;

public class ProjectionRequestValidationException extends Exception {

private static final long serialVersionUID = 5172661648677695483L;

private final List<String> validationMessages;
private final List<ValidationMessage> validationMessages;

public ProjectionRequestValidationException(List<String> validationMessages) {
public ProjectionRequestValidationException(List<ValidationMessage> validationMessages) {
this.validationMessages = validationMessages;
}
public List<String> getValidationMessages() {

public List<ValidationMessage> getValidationMessages() {
return validationMessages;
}
}
Loading

0 comments on commit 8e3f10c

Please sign in to comment.