forked from External/mage
added deck validation feedback to client + queue all RMI messages
This commit is contained in:
parent
10edbc8d9b
commit
14891b1b77
62 changed files with 374 additions and 116 deletions
|
|
@ -42,6 +42,7 @@ import java.util.logging.Level;
|
|||
import mage.cards.decks.DeckCardLists;
|
||||
import mage.game.GameException;
|
||||
import mage.MageException;
|
||||
import mage.cards.decks.InvalidDeckException;
|
||||
import mage.game.match.MatchOptions;
|
||||
import mage.game.tournament.TournamentOptions;
|
||||
import mage.interfaces.Server;
|
||||
|
|
@ -211,6 +212,9 @@ public class ServerImpl extends RemoteServer implements Server {
|
|||
return ret;
|
||||
}
|
||||
}
|
||||
catch (InvalidDeckException ex) {
|
||||
throw ex;
|
||||
}
|
||||
catch (GameException ex) {
|
||||
throw ex;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue