protected void checkStartStatus ( BundleStartStatus startStatus ) throws InvalidBundleContextException { final String m = "checkInstallStatus" ; if ( startStatus . startExceptions ( ) ) { Map < Bundle , Throwable > startExceptions = startStatus . getStartExceptions ( ) ; for ( Entry < Bundle , Throwable > entry : startExceptions . entrySet ( ) ) { Bundle b = entry . getKey ( ) ; FFDCFilter . processException ( entry . getValue ( ) , ME , m , this , new Object [ ] { b . getLocation ( ) } ) ; } throw new LaunchException ( "Exceptions occurred while starting platform bundles" , BootstrapConstants . messages . getString ( "error.platformBundleException" ) ) ; } if ( ! startStatus . contextIsValid ( ) ) throw new InvalidBundleContextException ( ) ; }
Check the passed in start status for exceptions starting bundles and issue appropriate diagnostics & messages for this environment .