Amazing Mazes

Class InvalidMove

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--InvalidMove

public class InvalidMove
extends java.lang.RuntimeException

This exception class indentifies that a mouse specified an invalid move within a maze. Either a wall is in the way, or it is a cell we just came from in our currenent traversal path (this requires usage of the retreat() method).

Version:
1.0 09/02/2000
Author:
Kevin Bridges ... Copyright (c) 2001
See Also:
Serialized Form

Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
InvalidMove(java.lang.String detailMessage)
          Construct a InvalidMove instance with a detailed message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

InvalidMove

public InvalidMove(java.lang.String detailMessage)
Construct a InvalidMove instance with a detailed message.

Author: Andrew Bridges
Copyright © 2001