Package com.teamdev.jxbrowser
Class ObjectClosedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
com.teamdev.jxbrowser.ObjectClosedException
- All Implemented Interfaces:
Serializable
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 Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ObjectClosedException
public ObjectClosedException()Creates the exception.
-