movements
Class PositionRequiredButImmediatelyAfterTransitionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bymovements.PositionRequiredButImmediatelyAfterTransitionException
All Implemented Interfaces:
java.io.Serializable

class PositionRequiredButImmediatelyAfterTransitionException
extends java.lang.Exception

Thrown when the position of a participant must be known, but the previous movement was a transition. See ???.

Author:
Nigel

Field Summary
(package private)  int tick
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
(package private) PositionRequiredButImmediatelyAfterTransitionException(int tick)
          Creates a new instance of PositionRequiredButImmediatelyAfterTransitionException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tick

int tick
Constructor Detail

PositionRequiredButImmediatelyAfterTransitionException

PositionRequiredButImmediatelyAfterTransitionException(int tick)
Creates a new instance of PositionRequiredButImmediatelyAfterTransitionException.

Parameters:
tick - The clock tick at which the last movement ended. This allows the error message to indicate to the user the precise position of the problem. The clock tick is relative to the figure in which the problem occurred.


Copyright © 2003 Nigel Westbury