Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f266f49

Browse files
committed
Added Exception folder in the MVCPracticeAdvanced section of a small course on Java EE
1 parent 5791b9e commit f266f49

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)