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,15 +238,9 @@ namespace Antlr4.Runtime
{
return i;
}
try
{
int c = NextChar();
Add(c);
}
catch (IOException ioe)
{
throw new RuntimeException(ioe);
}
int c = NextChar();
Add(c);
}
return n;
}