ClosedWatchServiceException

  • ClosedWatchServiceException is an unchecked exception indicating an operation was attempted on a closed WatchService.

  • It's a subclass of IllegalStateException and provides a single constructor with no arguments.

  • The exception inherits methods from Throwable for stack trace and error handling.

  • It also inherits methods from Object for basic object operations.

public class ClosedWatchServiceException extends IllegalStateException

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

Public Constructor Summary

ClosedWatchServiceException()
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public ClosedWatchServiceException ()

Constructs an instance of this class.