Java AWT

Previous Chapter 19
java.awt Reference
Next
 

IllegalComponentStateException (New)

Name

IllegalComponentStateException (New)

[Graphic: Figure from the text]

Description

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

Class Definition

public class java.awt.IllegalComponentStateException
    extends java.lang.IllegalStateException {
  
  // Constructors
  public IllegalComponentStateException();
  public IllegalComponentStateException (String s);
}

Constructors

IllegalComponentStateException

public IllegalComponentStateException()

Description

Constructs the exception object with no detail message.

public IllegalComponentStateException (String s)

Parameters

s

Detail message

Description

Constructs the exception object with the given detail message.

See Also

Exception, String


Previous Home Next
GridLayout Book Index Image

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java