produce(list, is); } catch (Exception e) { for (int i = 0; i < list.size(); i++) { ImageConsumer ic2 = (ImageConsumer) list.elementAt(i); ic2.imageComplete(ImageConsumer.IMAGEERROR); } } }
produce (list, input); } catch (Exception e) { for (int i = 0; i < list.size (); i++) { ImageConsumer ic2 = (ImageConsumer) list.elementAt (i); ic2.imageComplete (ImageConsumer.IMAGEERROR); } } }
	public void startProduction(ImageConsumer ic) {		addConsumer(ic);		Vector list = (Vector) consumers.clone();		try {			FileInputStream is = (url == null) ? new FileInputStream(filename) : (FileInputStream) url.openStream();			produce(list, is);		} catch (Exception e) {			for (int i = 0; i < list.size(); i++) {				ImageConsumer ic2 = (ImageConsumer) list.elementAt(i);				ic2.imageComplete(ImageConsumer.IMAGEERROR);			}		}	}