Package es.urjc.etsii.grafo.exception
Class InvalidSolutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
es.urjc.etsii.grafo.exception.InvalidSolutionException
- All Implemented Interfaces:
Serializable
Thrown if the solution is not valid at different solving stages
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidSolutionException
(String cause) Create a new InvalidSolutionException with the given reason -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidSolutionException
Create a new InvalidSolutionException with the given reason- Parameters:
cause
- why the solution is not valid
-