throw new BirtException( pluginId, ResourceConstants.CONVERT_FAILS, "Date",
throw new BirtException( pluginId, ResourceConstants.CONVERT_FAILS, new Object[]{ source.toString( ), "Date" },
	public static Date toDateWithCheck( String source, Locale locale )			throws BirtException	{		DateFormat dateFormat = DateFormat.getDateInstance( DateFormat.SHORT,				locale );		Date resultDate = null;		try		{			resultDate = dateFormat.parse( source );		}		catch ( ParseException e )		{			return toDate( source, locale );		}				// check whether conversion is correct		if ( DateUtil.checkValid( dateFormat, source ) == false )		{			throw new BirtException( pluginId, ResourceConstants.CONVERT_FAILS,					"Date",					resourceBundle );		}		return resultDate;	}