Class IllegalComponentStateException in Java

digitization, transformation, binary

Class IllegalComponentStateException in Java

An Exception indicating that a Component was not in an appropriate state to perform requested action.

The Hierarchy of IllegalComponentStateException is as follows

IllegalComponentStateException
IllegalComponentStateException

The structure of the class IllegalComponentStateException is given by

public class java.awt.IllegalComponentStateException
extends java.lang.IllegalStateException {
// Constructors
public IllegalComponentStateException();//Constructs the exception object with no detail message.
public IllegalComponentStateException (String s);//Constructs the exception object with the given detail message.
}

Ads code goes here

Share and Enjoy !

READ  Class AWTException in Java

Leave a Comment

Your email address will not be published. Required fields are marked *