catch any exception from rhino parser
This commit is contained in:
parent
6a9b9acc86
commit
a5170ccd5b
1 changed files with 3 additions and 3 deletions
|
@ -125,9 +125,9 @@ public class DocFunction extends DocFileElement {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (IOException io) {
|
} catch (Exception ex) {
|
||||||
io.printStackTrace();
|
ex.printStackTrace();
|
||||||
throw new DocException (io.toString());
|
throw new DocException (ex.toString());
|
||||||
}
|
}
|
||||||
return (DocFunction[]) vec.toArray(new DocFunction[0]);
|
return (DocFunction[]) vec.toArray(new DocFunction[0]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue