public ParseException(BELLocation loc, string message, Token token) : base(loc.ToString() + " : " + message + (token == null ? "" : ": " + token.ToString())) { Location = loc; }
public ParseException(BELLocation loc, string message) : base(loc.ToString() + " : " + message) { Location = loc; }
public ParseException(BELLocation loc) : base(loc.ToString()) { Location = loc; }
public ExecutionException(BELLocation loc, string message) : base(loc.ToString() + " : " + message) { }
public ExecutionException(BELLocation loc) : base(loc.ToString()) { }
public static NoSuchMemberException ForMemberAndType(BELLocation loc, string member, string typeName) { NoSuchMemberException answer = new NoSuchMemberException(loc.ToString() + " : " + "No such property or function: " + typeName + "." + member); answer.Member = member; return answer; }