protected function setErrorMessage(
        $error_messages, 
        $code, 
        $errorAttributes = '', 
        $errorFileName = '', 
        $errorFileSize = '', 
        $errorFileMime = ''
    ) {
        $arg_list = func_get_args();
        $numargs = func_num_args();
        for ($i = 0; $i < $numargs; $i++) {
            if (is_array($arg_list) && array_key_exists($i, $arg_list) && !is_scalar($arg_list[$i])) {
                return false;
            } elseif ($arg_list === false) {
                return false;
            }
        }
        unset($arg_list, $i, $numargs);

        $this->error_messages[] = $error_messages;
        $this->error_codes[] = array(
            'code' => $code,
            'errorAttributes' => $errorAttributes,
            'errorFileName' => $errorFileName,
            'errorFileSize' => $errorFileSize,
            'errorFileMime' => $errorFileMime,
        );
    }