setValueForBinding(fileData.fileIncomplete(), BindingNames.fileSizeExceeded);
// Only one binding for file data is honored. Precedence order: file, input stream, byte array.
if (parent().hasBinding(BindingNames.file)) {
File file = fileData.file();
if ((file == null) && (fileData.data() != null)) {
throw new AWGenericException("File binding not supported for in memory file uploads");
}
setValueForBinding(file, BindingNames.file);
}
else {