OmlParseExceptionReason Enumeration

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines the conditions that cause OmlParseException.

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Public Enumeration OmlParseExceptionReason

Member nameDescription
NotSpecifiedUnspecified reason for the exception.
DuplicateNameA duplicate name.
ExpressionCannotBeConvertedIntoTermAn expression that could not be converted into a term.
InvalidAnnotationAn annotation that is not valid.
InvalidArgumentCountThe wrong number of arguments provided to an operator.
InvalidArgumentTypeAn argument type that is not valid or that does not match the required type.
InvalidDataBindingA data binding that is not valid.
InvalidDecisionA decision that is not valid.
InvalidDomainA domain specification that is not valid.
InvalidFilterConditionAn invalid condition in a ForEach(Set, Func(Of T, TResult)) or ForEachWhere(Set, Func(Of T, TResult), Boolean).
InvalidGoalA goal that is not valid.
InvalidNameAn identifier that is not valid.
InvalidIteratorAn iterator expression that is not valid.
InvalidIndexAn index that is not valid.
InvalidIndexCountAn index count that is not valid.
InvalidLabelA label that is not valid.
InvalidParameterA parameter that is not valid.
InvalidSosAn special ordered set (SOS) that is not valid.
InvalidSetA set that is not valid.
InvalidTuplesA tuples specification that is not valid.
SubmodelErrorAn element that is not valid in a submodel section.
UnexpectedTermAn unexpected term is encountered.