Added in API level 26

ClosedWatchServiceException

open class ClosedWatchServiceException : IllegalStateException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ java.lang.RuntimeException
   ↳ java.lang.IllegalStateException
   ↳ java.nio.file.ClosedWatchServiceException

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

Summary

Public constructors

Constructs an instance of this class.

Public constructors

ClosedWatchServiceException

Added in API level 26
ClosedWatchServiceException()

Constructs an instance of this class.