Added in API level 26

ClosedDirectoryStreamException

public class ClosedDirectoryStreamException
extends IllegalStateException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalStateException
           ↳ java.nio.file.ClosedDirectoryStreamException


Unchecked exception thrown when an attempt is made to invoke an operation on a directory stream that is closed.

Summary

Public constructors

ClosedDirectoryStreamException()

Constructs an instance of this class.

Inherited methods

Public constructors

ClosedDirectoryStreamException

Added in API level 26
public ClosedDirectoryStreamException ()

Constructs an instance of this class.