public AWTException (String message)
This consists a message that gives the information about the exception occurred.public IllegalComponentStateException():
This constructor does not provide any message about the problem occurred.public IllegalComponentStateException(String message)
: This constructor gives the detailed information of the generated problem. This message can be obtained by using the getMessage() method.