Added StackOverflow handling
This commit is contained in:
parent
5550d02c9e
commit
694c1a4958
1 changed files with 4 additions and 0 deletions
|
@ -229,6 +229,10 @@ public final class DocumentDeserializerImpl
|
|||
//System.out.println("\n** Transform Complete ***");
|
||||
|
||||
}
|
||||
catch (StackOverflowError sOE){
|
||||
System.out.println("\nERROR : Stack Overflow Error During Transformation\n Try increasing the stack size by passing the -Xss1m option to the JRE.");
|
||||
throw sOE;
|
||||
}
|
||||
catch(Exception e){
|
||||
System.out.println("An error occured in the transformation : "+e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue