private ProtoNetwork failNamedComplexes ( final ProtoNetwork pn , final StringBuilder bldr , String ncLocation , String errorMessage ) { bldr . append ( "NAMED COMPLEXES RESOLUTION FAILURE in " ) ; bldr . append ( ncLocation ) ; bldr . append ( "\n\treason: " ) ; bldr . append ( errorMessage ) ; stageWarning ( bldr . toString ( ) ) ; // could not resolve named complexes resource so return original // proto network. return pn ; }
Logic to recover from a failure to resolve a named complexes resource .