No need to wrap IOException in C#

This commit is contained in:
Sam Harwell 2013-02-17 15:10:32 -06:00
parent 81efb247be
commit 8dbdc2b3c0
1 changed files with 3 additions and 9 deletions

View File

@ -238,16 +238,10 @@ namespace Antlr4.Runtime
{ {
return i; return i;
} }
try
{
int c = NextChar(); int c = NextChar();
Add(c); Add(c);
} }
catch (IOException ioe)
{
throw new RuntimeException(ioe);
}
}
return n; return n;
} }