# Fault - FileFault(vim.fault.FileFault)

Thrown by
  AttachDisk_Task, ChangeFileAttributesInGuest, ChangeOwner, CloneVApp_Task, CloneVM_Task, CloneVStorageObject_Task, ConsolidateVMDisks_Task, CopyDatastoreFile_Task, CopyVirtualDisk_Task, CreateChildVM_Task, CreateDescriptor, CreateDisk_Task, CreateImportSpec, CreateScreenshot_Task, CreateSecondaryVM_Task, CreateSecondaryVMEx_Task, CreateSnapshot_Task, CreateSnapshotEx_Task, CreateTemporaryDirectoryInGuest, CreateTemporaryFileInGuest, CreateVirtualDisk_Task, CreateVM_Task, DefragmentAllDisks, DefragmentVirtualDisk_Task, DeleteDatastoreFile_Task, DeleteDirectory, DeleteDirectoryInGuest, DeleteFile, DeleteFileInGuest, DeleteVirtualDisk_Task, DeleteVStorageObject_Task, DetachDisk_Task, EagerZeroVirtualDisk_Task, EstimateStorageForConsolidateSnapshots_Task, ExportSnapshot, ExportVApp, ExportVm, ExtendDisk_Task, ExtendVirtualDisk_Task, HostCloneVStorageObject_Task, HostCreateDisk_Task, HostDeleteVStorageObject_Task, HostExtendDisk_Task, HostInflateDisk_Task, HostRegisterDisk, HostRelocateVStorageObject_Task, HostRenameVStorageObject, HostRetrieveVStorageObject, HostRetrieveVStorageObjectState, ImportVApp, InflateDisk_Task, InflateVirtualDisk_Task, InitiateFileTransferFromGuest, InitiateFileTransferToGuest, ListFilesInGuest, MakeDirectory, MakeDirectoryInGuest, MarkAsTemplate, MarkAsVirtualMachine, MigrateVM_Task, MoveDatastoreFile_Task, MoveDirectoryInGuest, MoveFileInGuest, MoveVirtualDisk_Task, ParseDescriptor, PowerOnVApp_Task, PowerOnVM_Task, QueryChangedDiskAreas, QueryVirtualDiskFragmentation, QueryVirtualDiskGeometry, QueryVirtualDiskUuid, ReconfigVM_Task, RegisterChildVM_Task, RegisterDisk, RegisterVM_Task, reloadVirtualMachineFromPath_Task, RelocateVM_Task, RelocateVStorageObject_Task, RenameVStorageObject, RestoreFirmwareConfiguration, RetrieveVStorageObject, RetrieveVStorageObjectState, RevertToSnapshot_Task, SearchDatastore_Task, SearchDatastoreSubFolders_Task, SetVirtualDiskUuid, ShrinkVirtualDisk_Task, StartProgramInGuest, StartRecording_Task, StartReplaying_Task, StopRecording_Task, StopReplaying_Task, UpdateVAppConfig, ValidateHost, ZeroFillVirtualDisk_Task
Extended by
  CannotAccessFile, CannotCreateFile, CannotDeleteFile, DirectoryNotEmpty, FileAlreadyExists, FileLocked, FileNameTooLong, FileNotFound, FileNotWritable, FileTooLarge, IncorrectFileType, NetworkCopyFault, NoDiskSpace, NotADirectory, NotAFile, TooManyConcurrentNativeClones, TooManyNativeCloneLevels, TooManyNativeClonesOnFile
Extends
  VimFault

## Fault Description

The common base type for all file-related exceptions.

Properties

Name | Type | Description
--- | --- | ---
file | xsd:string | The file in question.
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="FileFault"> <complexContent> <extension base="pbm:VimFault"> <sequence> <element name="file" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>