Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5791b9e commit f266f49Copy full SHA for f266f49
MVCPracticeAdvanced/src/AirportSimulatorTwo/Exception/ValidationException.java
@@ -0,0 +1,15 @@
1
+package AirportSimulatorTwo.Exception;
2
+
3
+import AirportSimulatorTwo.Validator.Error;
4
+import lombok.Getter;
5
6
+import java.util.List;
7
8
+public class ValidationException extends RuntimeException {
9
+ @Getter
10
+ private final List<Error> app_errors;
11
12
+ public ValidationException(List<Error> app_errors){
13
+ this.app_errors = app_errors;
14
+ }
15
+}
0 commit comments