in src/net/sourceforge/transparent/Runner.java [118:146]
public boolean run( String[] command, boolean canFail )
{
LOG.info( "|" + getCommandLine( command ) );
try
{
successfull = execProcess(command);
if( successfull ){
return true;
} else {
if (!canFail) throw new ClearCaseException("Error executing " + getCommandLine(command) + " : " + myOutput);
return false;
}
} catch (RuntimeException e) {
if( StringUtil.isNotEmpty( workingDir ) )
LOG.info( "CCAse runtime exception (started in [" + workingDir + "]: " + e.getMessage(), e );
else
LOG.info( "CCAse runtime exception :" + e.getMessage(), e );
// this exception will be caught
throw new ClearCaseException(e.getMessage());
} catch (Exception e) {
if( StringUtil.isNotEmpty( workingDir ) )
LOG.info( "CCAse exception: (started in [" + workingDir + "]: " + e.getMessage(), e );
else
LOG.info( "CCAse exception: " + e.getMessage(), e );
// this exception will be caught
throw new ClearCaseException(e.getMessage());
}
}