source: trunk/yao/share/antlr-2.7.7/lib/csharp/antlr.runtime/antlr/TokenStreamIOException.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: 845 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        * Wraps an IOException in a TokenStreamException
23        */
24        [Serializable]
25        public class TokenStreamIOException : TokenStreamException
26        {
27                public IOException io;
28                /*
29                * TokenStreamIOException constructor comment.
30                * @param s java.lang.String
31                */
32                public TokenStreamIOException(IOException io) : base(io.Message)
33                {
34                        this.io = io;
35                }
36        }
37}
Note: See TracBrowser for help on using the repository browser.