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 aChoiceis not contained in the correspondingDegreeOfFreedomInstance. Example:DiscreteRangeChoiceA has the chosen value 5, but the linkedDegreeOfFreedomInstanceD has from = 7 and to = 10.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChoiceOutOfBoundsException(ClassChoice choice)ChoiceOutOfBoundsException(ClassChoice choice, String location)ChoiceOutOfBoundsException(DiscreteRangeChoice discreteChoice)ChoiceOutOfBoundsException(DiscreteRangeChoice discreteChoice, String message)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ChoiceOutOfBoundsException
public ChoiceOutOfBoundsException(ClassChoice choice)
-
ChoiceOutOfBoundsException
public ChoiceOutOfBoundsException(ClassChoice choice, String location)
-
ChoiceOutOfBoundsException
public ChoiceOutOfBoundsException(DiscreteRangeChoice discreteChoice)
-
ChoiceOutOfBoundsException
public ChoiceOutOfBoundsException(DiscreteRangeChoice discreteChoice, String message)
-
-