Bug 207258 Error exception message in type validation of multi-value parameters
If there is any exception in type validation of multi-value parameter, we will always get following error message: The type of parameter "NewParameter" is expected as "Object[]", not "Array".. This message is incorrect. Please replace the "Array" with the correct value type.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/EngineTask.java
{
			if ( paramValue instanceof Date )
				return true;
			throw new ParameterValidationException(
					MessageConstants.INVALID_PARAMETER_TYPE_EXCEPTION,
					new String[]{paramName, type, paramValue.getClass( ).getName( )} );
		}
		else if ( DesignChoiceConstants.PARAM_TYPE_DATE.equals( type ) )
		{
			if ( paramValue instanceof java.sql.Date )
				return true;
			throw new ParameterValidationException(
					MessageConstants.INVALID_PARAMETER_TYPE_EXCEPTION,
					new String[]{paramName, type, paramValue.getClass( ).getName( )} );
		}
		else if ( DesignChoiceConstants.PARAM_TYPE_TIME.equals( type ) )
		{
			if ( paramValue instanceof java.sql.Time )
				return true;
			throw new ParameterValidationException(
					MessageConstants.INVALID_PARAMETER_TYPE_EXCEPTION,
					new String[]{paramName, type, paramValue.getClass( ).getName( )} );
		}
		else if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( type ) )
		{
			if ( paramHandle.isRequired( ) ) 
			{
				String value = paramValue.toString( ).trim( );
				if ( value.length( ) == 0 )
				{