kodkod.engine.fol2sat
Class TrivialFormulaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by kodkod.engine.fol2sat.TrivialFormulaException
All Implemented Interfaces:
java.io.Serializable

public final class TrivialFormulaException
extends java.lang.Exception

Thrown when a reduction is found to be trivially (un)satisfiable with respect to given Bounds.

Author:
Emina Torlak
See Also:
Serialized Form
specfield:
formula: Formula
bounds: Bounds // bounds (possibly a subset of the original bounds) with respect to which the formula reduces to a constant
log: lone TranslationLog // log is null if translation logging was not enabled
value: BooleanConstant // the value to which the reduction simplified

Method Summary
 Bounds bounds()
          Return this.bounds.
 TranslationLog log()
          Returns this.log.
 BooleanConstant value()
          Returns the value to which this.formula is trivially reducible.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

log

public TranslationLog log()
Returns this.log.

Returns:
this.log

bounds

public Bounds bounds()
Return this.bounds.

Returns:
this.bounds

value

public BooleanConstant value()
Returns the value to which this.formula is trivially reducible.

Returns:
this.value