public Stack < FailureStackElement > getFailureStack ( ) { Stack < FailureStackElement > stack = new Stack < FailureStackElement > ( ) ; for ( FailureStackElement failureStackElement : failureStack ) { stack . push ( failureStackElement ) ; } return stack ; }
Gets the custom failure stack with line number information where the testcase failed .