kaushalshah
asked on
JBuilder 7 error: catch
I am getting this error in my code for catch;
try
{
SAXParserFactory spf =SAXParserFactory.newInsta nce
();
SAXParser parser = spf.newSAXParser();
XMLReader r = parser.getXMLReader();
}
catch(IOException e) {
e.printStackTrace();
}
Error:
The exception can never be thrown in the corresponding try block.
try
{
SAXParserFactory spf =SAXParserFactory.newInsta
();
SAXParser parser = spf.newSAXParser();
XMLReader r = parser.getXMLReader();
}
catch(IOException e) {
e.printStackTrace();
}
Error:
The exception can never be thrown in the corresponding try block.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks