java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.civl.gmc.ExcessiveErrorException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionExcessiveErrorException(int numErrors) Constructs new instance with given numErrors. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of errors encountered when this exception was thrownMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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
-