Beispiel #1
0
 private static string GetMessage(string pointcutName, PointcutExpression pointcutExpression, string message)
 {
     return(string.Format("Failed parsing {0} = [{1}(\"{2}\")].\n{3}",
                          pointcutName,
                          pointcutExpression.AttributeName,
                          pointcutExpression.Saql,
                          message));
 }
Beispiel #2
0
 public QueryParsingException(string pointcutName, PointcutExpression pointcutExpression, string message) :
     base(GetMessage(pointcutName, pointcutExpression, message))
 {
 }
Beispiel #3
0
 public QueryParsingException(string pointcutName, PointcutExpression pointcutExpression, Exception e) :
     base(GetMessage(pointcutName, pointcutExpression, e.Message), e)
 {
 }
Beispiel #4
0
 public Compiler(PointcutExpression expression, Environment environment) =>
 (_expression, _environment) = (expression, environment);