Class Error
java.lang.Object
com.strobel.expressions.Error
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionambiguousJump(String name) static IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalArgumentExceptionstatic IllegalArgumentExceptionstatic IllegalArgumentExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionbinaryOperatorNotDefined(ExpressionType operator, Type leftType, Type rightType) static IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptioncannotCompileConstant(Object value) static IllegalStateExceptioncatchVariableMustBeCompatibleWithCatchType(Type catchType, Type variableType) static IllegalStateExceptionstatic IllegalStateExceptioncoercionOperatorNotDefined(Type sourceType, Type destinationType) static IllegalArgumentExceptionstatic IllegalArgumentExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptioncouldNotResolveConstructor(Type<?> type, Type<?>... parameterTypes) static IllegalStateExceptionstatic IllegalStateExceptionduplicateVariable(ParameterExpression variable) static IllegalArgumentExceptionstatic IllegalStateExceptionequalityMustReturnBoolean(MethodBase method) static IllegalStateExceptionexpressionMustBeReadable(String parameterName) static IllegalStateExceptionexpressionMustBeWriteable(String parameterName) static IllegalArgumentExceptionexpressionTypeCannotInitializeArrayType(Type itemType, Type arrayElementType) static IllegalStateExceptionexpressionTypeDoesNotMatchAssignment(Type leftType, Type rightType) static IllegalStateExceptionexpressionTypeDoesNotMatchConstructorParameter(Type argType, Type parameterType) static IllegalArgumentExceptionexpressionTypeDoesNotMatchLabel(Type valueType, Type expectedType) static IllegalStateExceptionexpressionTypeDoesNotMatchMethodParameter(Type argType, Type parameterType, MethodBase method) static IllegalStateExceptionexpressionTypeDoesNotMatchParameter(Type argType, Type parameterType) static IllegalStateExceptionexpressionTypeDoesNotMatchReturn(Type bodyType, Type returnType) static IllegalStateExceptionstatic IllegalStateExceptionextensionMustOverride(String memberName) static IllegalStateExceptionstatic IllegalStateExceptionfieldDoesNotExistOnType(String fieldName, Type type) static IllegalStateExceptiongenericMethodWithArgsDoesNotExistOnType(String methodName, Type type) static IllegalStateExceptionincorrectlyTypedSelfExpression(Type<?> expected, Type<?> actual) static IllegalStateExceptionincorrectlyTypedSuperExpression(Type<?> expected, Type<?> actual) static IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalArgumentExceptionstatic IllegalStateExceptionstatic IllegalStateExceptioninvalidLValue(ExpressionType nodeType) static IllegalStateExceptioninvalidMemberType(MemberType memberType) static IllegalStateExceptioninvalidOperator(ExpressionType operator) static IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionlabelTargetUndefined(String name) static IllegalStateExceptionstatic IllegalStateExceptionmemberNotField(MemberInfo member) static IllegalStateExceptionmethodBasedOperatorMustHaveValidReturnType(ExpressionType operator, MethodBase method) static IllegalStateExceptionstatic IllegalStateExceptionmethodDoesNotExistOnType(String methodName, Type type) static IllegalStateExceptionmethodWithArgsDoesNotExistOnType(String methodName, Type type) static IllegalStateExceptionmethodWithMoreThanOneMatch(String methodName, Type type) static IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionmustRewriteChildToSameType(Type before, Type after, String callerName) static <T extends Expression>
IllegalStateExceptionmustRewriteToSameNode(String callerName, Class<T> type, String overrideMethodName) static IllegalStateExceptionmustRewriteWithoutMethod(MethodBase method, String callerName) static IllegalStateExceptionnonLocalJumpWithValue(String name) static IllegalStateExceptionoperandTypesDoNotMatchParameters(ExpressionType nodeType, MethodBase method) static IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionoverloadOperatorTypeDoesNotMatchConversionType(ExpressionType nodeType, MethodBase method) static IllegalStateExceptionparameterExpressionNotValidForDelegate(Type parameterType, Type delegateParameterType) static IllegalArgumentExceptionstatic IllegalArgumentExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionreducibleMustOverride(String memberName) static IllegalStateExceptionreferenceEqualityNotDefined(Type leftType, Type rightType) static IllegalStateExceptionreturnTypeDoesNotMatchOperandType(ExpressionType expressionType, MethodBase method) static IllegalStateExceptionstatic IllegalStateExceptiontargetAndMethodTypeMismatch(MethodBase method, Type targetType) static IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalArgumentExceptionstatic IllegalStateExceptiontestValueTypeDoesNotMatchComparisonMethodParameter(Type testValueType, Type parameterType) static IllegalStateExceptionstatic IllegalStateExceptionstatic IllegalArgumentExceptionstatic IllegalStateExceptionunaryOperatorNotDefined(ExpressionType operator, Type operandType) static IllegalArgumentExceptionunboxNotDefined(Type<?> boxedType, Type<?> unboxedType) static IllegalStateExceptionundefinedVariable(String name, Type type, String currentLambdaName) static IllegalStateExceptionstatic IllegalStateExceptionunhandledBinary(ExpressionType binaryType) static IllegalStateExceptionunhandledUnary(ExpressionType unaryType) static IllegalStateException
-
Constructor Details
-
Error
private Error()
-
-
Method Details
-
extensionMustOverride
-
reducibleMustOverride
-
memberNotField
-
mustBeReducible
-
mustReduceToDifferent
-
reducedNotCompatible
-
argumentTypesMustMatch
-
argumentCannotBeOfTypeVoid
-
expressionMustBeWriteable
-
expressionMustBeReadable
-
mustRewriteChildToSameType
public static IllegalStateException mustRewriteChildToSameType(Type before, Type after, String callerName) -
mustRewriteWithoutMethod
-
mustRewriteToSameNode
public static <T extends Expression> IllegalStateException mustRewriteToSameNode(String callerName, Class<T> type, String overrideMethodName) -
unhandledUnary
-
unhandledBinary
-
unmodifiableCollection
-
duplicateVariable
-
unaryOperatorNotDefined
public static IllegalStateException unaryOperatorNotDefined(ExpressionType operator, Type operandType) -
operatorMethodMustNotBeStatic
-
operatorMethodMustNotReturnVoid
-
operatorMethodParametersMustMatchReturnValue
-
returnTypeDoesNotMatchOperandType
public static IllegalStateException returnTypeDoesNotMatchOperandType(ExpressionType expressionType, MethodBase method) -
returnTypeDoesNotMatchOperandType
-
incorrectNumberOfConstructorArguments
-
couldNotResolveConstructor
public static IllegalStateException couldNotResolveConstructor(Type<?> type, Type<?>... parameterTypes) -
incorrectNumberOfLambdaArguments
-
incorrectNumberOfLambdaDeclarationParameters
-
incorrectNumberOfMethodCallArguments
-
invalidUnboxType
-
unboxNotDefined
-
invalidBoxType
-
argumentMustBeArray
-
argumentMustBeBoolean
-
argumentMustBeInteger
-
argumentMustBeIntegral
-
coercionOperatorNotDefined
public static IllegalStateException coercionOperatorNotDefined(Type sourceType, Type destinationType) -
argumentMustNotHaveValueType
-
argumentMustBeThrowable
-
methodBasedOperatorMustHaveValidReturnType
-
methodBasedOperatorMustHaveValidReturnType
public static IllegalStateException methodBasedOperatorMustHaveValidReturnType(ExpressionType operator, MethodBase method) -
expressionTypeNotInvokable
-
binaryOperatorNotDefined
public static IllegalStateException binaryOperatorNotDefined(ExpressionType operator, Type leftType, Type rightType) -
referenceEqualityNotDefined
-
invalidOperator
-
targetRequiredForNonStaticMethodCall
-
targetRequiredForNonStaticFieldAccess
-
targetInvalidForStaticFieldAccess
-
targetInvalidForStaticMethodCall
-
targetAndMethodTypeMismatch
-
expressionTypeDoesNotMatchParameter
public static IllegalStateException expressionTypeDoesNotMatchParameter(Type argType, Type parameterType) -
expressionTypeDoesNotMatchReturn
public static IllegalStateException expressionTypeDoesNotMatchReturn(Type bodyType, Type returnType) -
expressionTypeDoesNotMatchConstructorParameter
public static IllegalStateException expressionTypeDoesNotMatchConstructorParameter(Type argType, Type parameterType) -
expressionTypeDoesNotMatchMethodParameter
public static IllegalStateException expressionTypeDoesNotMatchMethodParameter(Type argType, Type parameterType, MethodBase method) -
expressionTypeDoesNotMatchAssignment
public static IllegalStateException expressionTypeDoesNotMatchAssignment(Type leftType, Type rightType) -
methodDoesNotExistOnType
-
fieldDoesNotExistOnType
-
genericMethodWithArgsDoesNotExistOnType
public static IllegalStateException genericMethodWithArgsDoesNotExistOnType(String methodName, Type type) -
methodWithArgsDoesNotExistOnType
-
methodWithMoreThanOneMatch
-
argumentMustBeArrayIndexType
-
conversionIsNotSupportedForArithmeticTypes
-
operandTypesDoNotMatchParameters
public static IllegalStateException operandTypesDoNotMatchParameters(ExpressionType nodeType, MethodBase method) -
overloadOperatorTypeDoesNotMatchConversionType
public static IllegalStateException overloadOperatorTypeDoesNotMatchConversionType(ExpressionType nodeType, MethodBase method) -
lambdaTypeMustBeSingleMethodInterface
-
parameterExpressionNotValidForDelegate
public static IllegalStateException parameterExpressionNotValidForDelegate(Type parameterType, Type delegateParameterType) -
labelMustBeVoidOrHaveExpression
-
expressionTypeDoesNotMatchLabel
public static IllegalArgumentException expressionTypeDoesNotMatchLabel(Type valueType, Type expectedType) -
expressionTypeCannotInitializeArrayType
public static IllegalArgumentException expressionTypeCannotInitializeArrayType(Type itemType, Type arrayElementType) -
catchVariableMustBeCompatibleWithCatchType
public static IllegalStateException catchVariableMustBeCompatibleWithCatchType(Type catchType, Type variableType) -
bodyOfCatchMustHaveSameTypeAsBodyOfTry
-
tryMustHaveCatchOrFinally
-
invalidLValue
-
allCaseBodiesMustHaveSameType
-
allTestValuesMustHaveTheSameType
-
defaultBodyMustBeSupplied
-
testValueTypeDoesNotMatchComparisonMethodParameter
public static IllegalStateException testValueTypeDoesNotMatchComparisonMethodParameter(Type testValueType, Type parameterType) -
equalityMustReturnBoolean
-
cannotCompileConstant
-
undefinedVariable
public static IllegalStateException undefinedVariable(String name, Type type, String currentLambdaName) -
couldNotCreateDelegate
-
labelTargetAlreadyDefined
-
ambiguousJump
-
nonLocalJumpWithValue
-
controlCannotEnterExpression
-
controlCannotEnterTry
-
labelTargetUndefined
-
primitiveCannotBeTypeBinaryOperand
-
primitiveCannotBeTypeBinaryType
-
incorrectNumberOfIndexes
-
unexpectedCoalesceOperator
-
invalidMemberType
-
andAlsoCannotProvideMethod
-
orElseCannotProvideMethod
-
coalesceUsedOnNonNullableType
-
extensionNotReduced
-
tryNotAllowedInFilter
-
argumentMustBeReferenceType
-
initializerMustBeAssignableToVariable
-
testMustBeBooleanExpression
-
continueTargetMustBeVoid
-
cannotAccessThisFromStaticMember
-
incorrectlyTypedSelfExpression
public static IllegalStateException incorrectlyTypedSelfExpression(Type<?> expected, Type<?> actual) -
incorrectlyTypedSuperExpression
public static IllegalStateException incorrectlyTypedSuperExpression(Type<?> expected, Type<?> actual) -
twoOrMoreOperandsRequired
-
concatRequiresAtLeastTwoOperands
-
dynamicMethodCallRequiresTargetOrMethodHandle
-