Class ObjectClosedException

All Implemented Interfaces:
Serializable

public final class ObjectClosedException extends IllegalStateException
This exception indicates an attempt to use an already closed object.

Usually, it happens when you call the close() method of an object (or its owner) prior to calling methods of that object.

Another common cause of this exception is working with cached DOM or JavaScript objects. For example, if you navigate to another web page and try to call a method of a DOM or a JavaScript object from the previous page, you will get this exception.

It's also possible that the native Chromium process crashes. In that case, all the objects that belong to that process are closed automatically.

The following article explains this exception in detail: ObjectClosedException.

See Also:
  • Constructor Details

    • ObjectClosedException

      public ObjectClosedException()
      Creates the exception.