# Fault - CannotCreateFile(vim.fault.CannotCreateFile)

Thrown by
  CreateDirectory, MakeDirectory
Extends
  FileFault
Since
  VI API 2.5

## Fault Description

A CannotCreateFile exception is thrown if a file create operation fails.

Properties

Name | Type | Description
--- | --- | ---
None
Properties inherited from FileFault
file
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="CannotCreateFile"> <complexContent> <extension base="pbm:FileFault"> <sequence> </sequence> </extension> </complexContent> </complexType>