org.coinor.opents
Class NoMovesGeneratedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.coinor.opents.NoMovesGeneratedException
All Implemented Interfaces:
java.io.Serializable

public class NoMovesGeneratedException
extends java.lang.Exception

This exception is thrown when MoveManager.getAllMoves(org.coinor.opents.Solution) (in the MoveManagerreturns no moves. Execution does not stop. The TabuSearch moves on to the next iteration and again requests MoveManager.getAllMoves(org.coinor.opents.Solution) from the MoveManager.

This code is licensed for public use under the Common Public License version 0.5.
The Common Public License, developed by IBM and modeled after their industry-friendly IBM Public License, differs from other common open source licenses in several important ways:

Copyright 2001 Robert Harder

Since:
1.0
See Also:
MoveManager, TabuSearch, Serialized Form

Constructor Summary
NoMovesGeneratedException()
          Constructs generic NoMovesGeneratedException.
NoMovesGeneratedException(java.lang.String s)
          Constructs a NoMovesGeneratedException with the specified String.
 
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

NoMovesGeneratedException

public NoMovesGeneratedException()
Constructs generic NoMovesGeneratedException. This constructor only calls super() and quits.

Since:
1.0

NoMovesGeneratedException

public NoMovesGeneratedException(java.lang.String s)
Constructs a NoMovesGeneratedException with the specified String. This constructor calls super( s ) and quits.

Parameters:
s - String describing the exception
Since:
1.0