try {   label2.createTemplateElement( "templateLabel" ); fail(); } catch ( SemanticException e ) { assertTrue( e instanceof ContentException ); }
	public void test_117676( ) throws DesignFileException	{		openDesign( INPUT );		// 1. label from report itself				TableHandle localTable = (TableHandle) designHandle				.findElement( "localTable" ); //$NON-NLS-1$		LabelHandle label1 = (LabelHandle) ( (CellHandle) ( (RowHandle) localTable				.getDetail( ).get( 0 ) ).getCells( ).get( 0 ) ).getContent( )				.get( 0 );		assertTrue( label1.canTransformToTemplate( ) );				// 2. label from library				TableHandle extendsTable = (TableHandle) designHandle				.findElement( "NewTable" ); //$NON-NLS-1$		LabelHandle label2 = (LabelHandle) ( (CellHandle) ( (RowHandle) extendsTable				.getDetail( ).get( 0 ) ).getCells( ).get( 0 ) ).getContent( )				.get( 0 );		assertFalse( label2.canTransformToTemplate( ) );		// TODO: exception if performing transform	}