source: trunk/yao/share/antlr-2.7.7/lib/csharp/antlr.runtime/antlr/CharStreamIOException.cs @ 1

Last change on this file since 1 was 1, checked in by lnalod, 15 years ago

Initial import of YAO sources

File size: 755 bytes
Line 
1using System;
2using IOException = System.IO.IOException;
3
4namespace antlr
5{
6        /*ANTLR Translator Generator
7        * Project led by Terence Parr at http://www.jGuru.com
8        * Software rights: http://www.antlr.org/license.html
9        *
10        * $Id:$
11        */
12
13        //
14        // ANTLR C# Code Generator by Micheal Jordan
15        //                            Kunle Odutola       : kunle UNDERSCORE odutola AT hotmail DOT com
16        //                            Anthony Oguntimehin
17        //
18        // With many thanks to Eric V. Smith from the ANTLR list.
19        //
20       
21        /*
22        * Wrap an IOException in a CharStreamException
23        */
24        [Serializable]
25        public class CharStreamIOException : CharStreamException
26        {
27                public IOException io;
28               
29                public CharStreamIOException(IOException io) : base(io.Message)
30                {
31                        this.io = io;
32                }
33        }
34}
Note: See TracBrowser for help on using the repository browser.