The WrongThreadException Class of the com.ms.com package represents objects that are thrown when a method call cannot be made because it was called on the wrong thread. Typically, WrongThreadException objects are thrown when an operation invokes an Apartment Model Component Object Model (COM) object on the wrong thread.
public class WrongThreadException extends RuntimeException { // Constructors public WrongThreadException(); public WrongThreadException(String s); }
RuntimeException | +--WrongThreadException