} catch (PreprocessException e) {
} catch (BuildException e) {
	public void testInvalidDirectives() {		String[] sourceLines = new String[] {				"	//#ifdef test1 ",				"	String hello =  \"test1 is defined\";",				"	//#elsek",				"	//# String hello =  \"test1 is not defined\";",				"	//#endif",				"	System.out.println( hello );"		};		StringList lines = new StringList( sourceLines );		try {			this.preprocessor.preprocess( "MyClass.java", lines );			fail("PreprocessException should be thrown when #else is misspelled.");		} catch (PreprocessException e) {			// expected behaviour!		}		sourceLines = new String[] {				"	//#else ",				"	String hello =  \"test1 is defined\";",				"	//#ifdef test1",				"	//# String hello =  \"test1 is not defined\";",				"	//#endif",				"	System.out.println( hello );"		};		lines = new StringList( sourceLines );		try {			this.preprocessor.preprocess( "MyClass.java", lines );			fail("PreprocessException should be thrown when #else is first directive.");		} catch (PreprocessException e) {			// expected behaviour!		}			}