File newMidp2Path = getFile( midp2PathStr ); if (!newMidp2Path.exists()) { throw new BuildException("Invalid path to the MIDP/2.0-API: [" + newMidp2Path.getAbsolutePath() + "] (File not found)."); } this.midp2Path = newMidp2Path; if (this.midp1Path == null) { this.midp1Path = newMidp2Path; } this.defaultMidpPathUsed = false;
throw new BuildException("Plese specify the bootclass-APIs within platforms.xml and configurations.xml.");
	public void setMidp2Path( String midp2PathStr ) {		File newMidp2Path = getFile( midp2PathStr );		if (!newMidp2Path.exists()) {			throw new BuildException("Invalid path to the MIDP/2.0-API: [" + newMidp2Path.getAbsolutePath() + "] (File not found).");		}		this.midp2Path = newMidp2Path;		if (this.midp1Path == null) {			this.midp1Path = newMidp2Path;		}		this.defaultMidpPathUsed = false;	}