Class IllegalTurnException

  • All Implemented Interfaces:
    java.io.Serializable

    public class IllegalTurnException
    extends java.lang.RuntimeException
    class exception to be thrown when an illegal turn occurs
    Author:
    Klara Schöbel
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      IllegalTurnException​(java.lang.String message)
      constructs a new illegalTurnException with an error 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 Detail

      • IllegalTurnException

        public IllegalTurnException​(java.lang.String message)
        constructs a new illegalTurnException with an error message
        Parameters:
        message - error message to be displayed