For example is an exception thrown, does the code hang .
Cheers
Chris
wangmq wrote:
Hi all:I use below code to read html, it runs well in windows , but when it run in linux, it's error in read .Why, how can I?try{
editorKit.read(HTMLReader, HTMLDoc, 0);
}
catch(BadLocationException e)
{
System.out.println("error1 in read editorkit"+e.toString());
}
catch(IOException e1)
{
System.out.println("error2 in read editorkit"+e1.toString());
}