public InconsistentConditionalExpression(JSToCSharpExceptionType type, RelinqScriptExpression root, ConditionalExpression expression, RelinqScriptType inferredTypeOfTest, RelinqScriptType inferredTypeOfIfTrue, RelinqScriptType inferredTypeOfIfFalse) : base(type, root, expression) { InferredTypeOfTest = inferredTypeOfTest; InferredTypeOfIfTrue = inferredTypeOfIfTrue; InferredTypeOfIfFalse = inferredTypeOfIfFalse; }
public CSharpBuilderException(JSToCSharpExceptionType type, RelinqScriptExpression root, RelinqScriptExpression expression, CompilationContext ctx, Exception innerException) : base(innerException) { Type = type; Root = root; Expression = expression; Context = ctx; }
public TypeInferenceException(JSToCSharpExceptionType type, RelinqScriptExpression root, RelinqScriptExpression expression, Exception innerException) : base(innerException) { Type = type; Root = root; Expression = expression; var full = TypeInferenceEngine._sap.History.ToArray(); History = full.Where(e => e.Expression.IsIndirectChildOf(root)).ToArray(); }
public MethodGroupResolutionFailedException(JSToCSharpExceptionType type, MethodGroup methodGroup, Dictionary<MethodInfo, MethodResolutionException> failboats, TypeInferenceContext ctx, Exception innerException) : base(type, ctx.Root.AsArray().Concat(ctx.Root.Parents()).Last(), ctx.Root, innerException) { MethodGroup = methodGroup; Failboats = failboats; try { ActualArguments = ctx.Root.ToXArgs(ctx.Inferences).ToArray(); } catch (Exception) { // sigh, the client won't get full info from the crash site // sad, but true, so just ignore possible exceptions } }
public CSharpBuilderException(JSToCSharpExceptionType type, RelinqScriptExpression root, RelinqScriptExpression expression, CompilationContext ctx) : this(type, root, expression, ctx, null) { }
public MethodGroupResolutionFailedException(JSToCSharpExceptionType type, MethodGroup methodGroup, Dictionary<MethodInfo, MethodResolutionException> failboats, TypeInferenceContext ctx) : this(type, methodGroup, failboats, ctx, null) { }
public SemanticErrorException(JSToCSharpExceptionType type, CommonTree node, Exception innerException) : base(type, innerException) { Node = node; }
public SemanticErrorException(JSToCSharpExceptionType type, CommonTree node) : this(type, node, null) { }
public TypeInferenceException(JSToCSharpExceptionType type, RelinqScriptExpression root, RelinqScriptExpression expression) : this(type, root, expression, null) { }
protected ParserException(JSToCSharpExceptionType type, Exception innerException) : base(innerException) { Type = type; }
protected ParserException(JSToCSharpExceptionType type) : this(type, null) { }