Class UnableToMoveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.server.controller.UnableToMoveException
- All Implemented Interfaces:
java.io.Serializable
public class UnableToMoveException
extends java.lang.Exception
Thrown when the selected worker is unable to build in his turn.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description UnableToMoveException()UnableToMoveException(java.lang.String error) -
Method Summary
Modifier and Type Method Description java.lang.StringgetErrorCode()
-
Constructor Details
-
UnableToMoveException
public UnableToMoveException() -
UnableToMoveException
public UnableToMoveException(java.lang.String error)
-
-
Method Details
-
getErrorCode
public java.lang.String getErrorCode()
-