예제 #1
0
 public ParseException(BELLocation loc, string message, Token token)
     : base(loc.ToString() + " : " + message + (token == null ? "" : ": " + token.ToString()))
 {
     Location = loc;
 }
예제 #2
0
 public ParseException(BELLocation loc, string message)
     : base(loc.ToString() + " : " + message)
 {
     Location = loc;
 }
예제 #3
0
 public ParseException(BELLocation loc)
     : base(loc.ToString())
 {
     Location = loc;
 }
예제 #4
0
 public ExecutionException(BELLocation loc, string message)
     : base(loc.ToString() + " : " + message)
 {
 }
예제 #5
0
 public ExecutionException(BELLocation loc)
     : base(loc.ToString())
 {
 }
예제 #6
0
		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;
		}