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