Module java.base
Package java.lang

Class WrongThreadException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.WrongThreadException
All Implemented Interfaces:
Serializable

public final classWrongThreadExceptionextendsRuntimeException
Thrown to indicate that a method has been called on the wrong thread.
Since:
19
See Also: