Package com.nebhale.letsmakeadeal

Examples of com.nebhale.letsmakeadeal.IllegalTransitionException


        if (DoorStatus.SELECTED == status) {
            game.select(doorId);
        } else if (DoorStatus.OPEN == status) {
            game.open(doorId);
        } else {
            throw new IllegalTransitionException(gameId, doorId, status);
        }

        return new ResponseEntity<Void>(HttpStatus.OK);
    }
View Full Code Here

TOP

Related Classes of com.nebhale.letsmakeadeal.IllegalTransitionException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.