Bug 203044 Invoke Script does not work correctly for two similar charts [13]
chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/image/JavaxImageIOWriter.java
}
		return supported;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.chart.device.IDeviceRenderer#before()
	 */
	public void before( ) throws ChartException
	{
		super.before( );
		_bImageExternallySpecified = ( _img != null );
		
		
		if ( !_bImageExternallySpecified )
		{
			if ( _bo == null ) 
			
			{
				throw new ChartException( ChartDeviceExtensionPlugin.ID,
						ChartException.RENDERING,
						"JavaxImageIOWriter.exception.no.bounds", 
						Messages.getResourceBundle( getULocale( ) ) );
			}
			if ( (int) _bo.getWidth( ) < 0 || (int) _bo.getHeight( ) < 0 )
			{
				throw new ChartException( ChartDeviceExtensionPlugin.ID,
						ChartException.INVALID_IMAGE_SIZE,
						"JavaxImageIOWriter.exception.invalid.image.size", 
						Messages.getResourceBundle( getULocale( ) ) );