# 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, CreateDiskFromSnapshot_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, DeleteSnapshot_Task, 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, HostVStorageObjectCreateDiskFromSnapshot_Task, HostVStorageObjectCreateSnapshot_Task, HostVStorageObjectDeleteSnapshot_Task, HostVStorageObjectRetrieveSnapshotInfo, HostVStorageObjectRevert_Task, ImportVApp, InflateDisk_Task, InflateVirtualDisk_Task, InitiateFileTransferFromGuest, InitiateFileTransferToGuest, InstantClone_Task, 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, RetrieveSnapshotInfo, RetrieveVStorageObject, RetrieveVStorageObjectState, RevertToSnapshot_Task, RevertVStorageObject_Task, SearchDatastore_Task, SearchDatastoreSubFolders_Task, SetVirtualDiskUuid, ShrinkVirtualDisk_Task, StartProgramInGuest, StartRecording_Task, StartReplaying_Task, StopRecording_Task, StopReplaying_Task, UpdateVAppConfig, UpdateVStorageObjectPolicy_Task, ValidateHost, VsanHostPrepareVmdkLoadTest, VStorageObjectCreateSnapshot_Task, ZeroFillVirtualDisk_Task
Extended by
  CannotAccessFile, CannotCreateFile, CannotDeleteFile, DirectoryNotEmpty, FileAlreadyExists, FileLocked, FileNameTooLong, FileNotFound, FileNotWritable, FileTooLarge, IncorrectFileType, NetworkCopyFault, NoDiskSpace, NotADirectory, NotAFile, TooManyConcurrentNativeClones, TooManyNativeCloneLevels, TooManyNativeClonesOnFile
Extends
  VimFault
Since
  2.0

## 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:vsan="urn:vsan" name="FileFault"> <complexContent> <extension base="vsan:VimFault"> <sequence> <element name="file" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>