try {
int signingResult = signingProcess.waitFor();
// Check whether signing is successful
if( signingResult != 0 ) {
throw new PackageException( "EXCEPTION_SIGNING_FAILED" );
}
long newModified = ( new File( codFullname ) ).lastModified();
if( newModified == lastModified ) {
throw new PackageException( "EXCEPTION_SIGNING_FAILED" );
}
} catch( InterruptedException e ) {
throw e;
}
}