Catching IOException
void myRead( Reader pReader )
{
try {
String line = reader.readLine();
}
catch( IOException e ) {
System.out.println( “Cannot read buffer” );
}
}
IOException
FileNotFoundException
SocketException
EOFException
...
Previous slide
Next slide
Back to first slide
View graphic version