public Throwable getOriginalException ( ) throws ExceptionInstantiationException { Throwable prevEx = null ; if ( previousExceptionInfo != null ) { prevEx = previousExceptionInfo . getOriginalException ( ) ; if ( prevEx == null ) { prevEx = getPreviousException ( ) ; } } return prevEx ; }
Get the original exception in a possible chain of exceptions . If no previous exceptions have been chained null will be returned .