Thread: Exception
View Single Post
  #1 (permalink)  
Old 11-26-2007, 11:13 PM
Camden Camden is offline
Member
 
Join Date: Nov 2007
Posts: 13
Rep Power: 0
Camden is on a distinguished road
Default Exception
im using this to read a text file
Code:
try{ blah blah
while((inputFile = br.readLine()) != null ) {
but im thinking that if there is a null or more sentences (e.g. between the title and the first paragraph) then it gonna stop reading.. what should i do? throw an exception and make it go back to
Code:
try{
? and how? thanx

Last edited by Camden; 11-26-2007 at 11:16 PM.
Reply With Quote