A specific
Exception
to deal with contradiction.
A contradiction appears when at least one
Variable
object is not coherent regarding all or part of
Constraint
network. Empty domain, instantiation to an out-of-domain value, etc. throws contradiction.
For performance consideration, a
ContradictionException
is created every time a contradiction occurs. A unique object is build and set with specific case information.
@author Xavier Lorca
@author Charles Prud'homme
@version 0.01, june 2010
@since 0.01