Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //*******************************************************
- // Nathan Schnitzer & Ryan
- // WrongTeamException
- // 9/28/18
- // Throws if piece of other team is selected
- //*******************************************************
- public class WrongTeamException extends Exception
- {
- //General Case
- public WrongTeamException()
- {
- super();
- }
- //Specific Case
- public WrongTeamException(String message)
- {
- super(message);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement