Class WrongPlayerException

java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.controller.controllerexception.ControllerException
it.polimi.ingsw.controller.controllerexception.WrongPlayerException
All Implemented Interfaces:
java.io.Serializable

public class WrongPlayerException
extends ControllerException
Thrown when one try to perform an action for the wrong player: e.g. for a player that isn't the current player of for a player that doesn't exist
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    WrongPlayerException()  
    WrongPlayerException​(java.lang.String message)  
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • WrongPlayerException

      public WrongPlayerException()
    • WrongPlayerException

      public WrongPlayerException​(java.lang.String message)