Class ChoiceOutOfBoundsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.uka.ipd.sdq.dsexplore.exception.ChoiceOutOfBoundsException
All Implemented Interfaces:
Serializable

public class ChoiceOutOfBoundsException extends RuntimeException
Thrown in the value of a Choice is not contained in the corresponding DegreeOfFreedomInstance. Example: DiscreteRangeChoice A has the chosen value 5, but the linked DegreeOfFreedomInstance D has from = 7 and to = 10.
See Also:
  • Constructor Details

    • ChoiceOutOfBoundsException

      public ChoiceOutOfBoundsException(ClassChoice choice)
    • ChoiceOutOfBoundsException

      public ChoiceOutOfBoundsException(ClassChoice choice, String location)
    • ChoiceOutOfBoundsException

      public ChoiceOutOfBoundsException(DiscreteRangeChoice discreteChoice)
    • ChoiceOutOfBoundsException

      public ChoiceOutOfBoundsException(DiscreteRangeChoice discreteChoice, String message)