DirectoryNotEmptyException Class


The exception that is thrown when a method received a directory as an argument and requires that the directory be empty but the directory is not empty.

Namespace: Autodesk.Revit.Exceptions
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2024

Syntax

C#
[SerializableAttribute]
public class DirectoryNotEmptyException : ArgumentException
Visual Basic
<SerializableAttribute> _
Public Class DirectoryNotEmptyException _
	Inherits ArgumentException
Visual C++
[SerializableAttribute]
public ref class DirectoryNotEmptyException : public ArgumentException

Inheritance Hierarchy

SystemObject
  SystemException
    Autodesk.Revit.ExceptionsApplicationException
      Autodesk.Revit.ExceptionsArgumentException
        Autodesk.Revit.ExceptionsDirectoryNotEmptyException

See Also