com.x8ing.lsm4j.state
Class MaximumIterationsReachedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.x8ing.lsm4j.state.AbstractProcessableGraphException
              extended by com.x8ing.lsm4j.state.MaximumIterationsReachedException
All Implemented Interfaces:
java.io.Serializable

public class MaximumIterationsReachedException
extends AbstractProcessableGraphException

A graph can be configured to run infinite or with a hard limit of transitions. If in the hard limit mode the count of transitions exceeds the specified limit, this exception is thrown, regardless if the current state is an end state or not.

ProcessableGraph.setMaximumLoops(long)

Author:
Patrick Heusser
See Also:
Serialized Form

Constructor Summary
MaximumIterationsReachedException()
           
 
Method Summary
 long getMaximumIterationsSpecified()
           
 void setMaximumIterationsSpecified(long maximumIterationsSpecified)
           
 
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
 

Constructor Detail

MaximumIterationsReachedException

public MaximumIterationsReachedException()
Method Detail

getMaximumIterationsSpecified

public long getMaximumIterationsSpecified()

setMaximumIterationsSpecified

public void setMaximumIterationsSpecified(long maximumIterationsSpecified)


by Patrick Heusser