boolean function ( ChainException arg0 , String arg1 ) { boolean loc0 = true ; while ( true ) { String loc1 = arg0 . getClass ( ) . getName ( ) ; if ( loc1 . equals ( arg1 ) ) { return ( ! loc0 ) ; } if ( arg0 . prev == null ) { return loc0 ; } arg0 = ( ChainException ) arg0 . prev ; } }
used to verify whether the exception thrown from the bottom layer is the one expected . concode_field_sep boolean FAIL concode_elem_sep String logpath concode_elem_sep boolean OK concode_elem_sep String dbpath concode_field_sep boolean test4 concode_elem_sep boolean test5 concode_elem_sep boolean test2 concode_elem_sep boolean test3 concode_elem_sep boolean runAllTests concode_elem_sep boolean runTests concode_elem_sep boolean test6 concode_elem_sep boolean test1 concode_elem_sep String testName