Esempio n. 1
0
        public override void RecognitionException(RecognitionException e)
        {
            StringBuilder buf = new StringBuilder(50);

            buf.Append("exception\t");
            buf.Append(e.GetType().FullName);
            // dump only the data common to all exceptions for now
            buf.Append("\t");
            buf.Append(e.Index);
            buf.Append("\t");
            buf.Append(e.Line);
            buf.Append("\t");
            buf.Append(e.CharPositionInLine);
            Transmit(buf.ToString());
        }
		public override void RecognitionException(RecognitionException e)
		{
			StringBuilder buf = new StringBuilder(50);
			buf.Append("exception\t");
			buf.Append(e.GetType().FullName);
			// dump only the data common to all exceptions for now
			buf.Append("\t");
			buf.Append(e.Index);
			buf.Append("\t");
			buf.Append(e.Line);
			buf.Append("\t");
			buf.Append(e.CharPositionInLine);
			Transmit(buf.ToString());
		}