AspectSharp.Builder.AspectEngineBuilder.OnError C# (CSharp) Method

OnError() protected method

protected OnError ( LexicalInfo info, String message ) : void
info AspectSharp.Lang.AST.LexicalInfo
message String
return void
		protected virtual void OnError(LexicalInfo info, String message)
		{
			String detailedMessage = String.Format(
				"{0}. On {1}, Line {2} - from {3} until {4}", message,
				info.Filename, info.Line, info.StartCol, info.EndCol);

			throw new BuilderException(info, detailedMessage);
		}
	}