Closed mattiacolombomc closed 5 months ago
https://github.com/PiervitoCreanza/IS24-AM02/blob/d471f78c064645e4bc49833996f68e8d6b72e145/src/main/java/it/polimi/ingsw/controller/GameControllerMiddleware.java#L173C13-L173C37
How are we handlng exceptions propagating from https://github.com/PiervitoCreanza/IS24-AM02/blob/d471f78c064645e4bc49833996f68e8d6b72e145/src/main/java/it/polimi/ingsw/model/player/PlayerBoard.java#L155 (validatePlacement)?
They propagate up to the GameControllerMiddleware
@mattiacolombomc Reopen if you have more doubts.
https://github.com/PiervitoCreanza/IS24-AM02/blob/d471f78c064645e4bc49833996f68e8d6b72e145/src/main/java/it/polimi/ingsw/controller/GameControllerMiddleware.java#L173C13-L173C37
How are we handlng exceptions propagating from https://github.com/PiervitoCreanza/IS24-AM02/blob/d471f78c064645e4bc49833996f68e8d6b72e145/src/main/java/it/polimi/ingsw/model/player/PlayerBoard.java#L155 (validatePlacement)?