catch any exception from rhino parser

This commit is contained in:
stefanp 2004-01-06 16:28:01 +00:00
parent 6a9b9acc86
commit a5170ccd5b

View file

@ -125,9 +125,9 @@ public class DocFunction extends DocFileElement {
}
} catch (IOException io) {
io.printStackTrace();
throw new DocException (io.toString());
} catch (Exception ex) {
ex.printStackTrace();
throw new DocException (ex.toString());
}
return (DocFunction[]) vec.toArray(new DocFunction[0]);
}