Module dev.civl.gmc
Package dev.civl.gmc

Class ExcessiveErrorException

All Implemented Interfaces:
Serializable

public class ExcessiveErrorException extends RuntimeException
An exception thrown when the number of errors encountered in the course of a search of a state-transition system exceeds some specified bound. Typical applications will catch this exception and then truncate the search.
See Also:
  • Constructor Details

    • ExcessiveErrorException

      public ExcessiveErrorException(int numErrors)
      Constructs new instance with given numErrors.
      Parameters:
      numErrors - : the number of errors encountered when this exception was thrown
  • Method Details

    • numErrors

      public int numErrors()
      Returns the number of errors encountered when this exception was thrown
      Returns:
      the number of errors encountered when this exception was thrown