JavaTM 2 Platform
Standard Ed. 5.0

java.awt
类 IllegalComponentStateException

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Exception
          继承者 java.lang.RuntimeException
              继承者 java.lang.IllegalStateException
                  继承者 java.awt.IllegalComponentStateException
所有已实现的接口:
Serializable

public class IllegalComponentStateException
extends IllegalStateException

当 AWT 组件未处于所请求操作的适当状态时,抛出该异常。

另请参见:
序列化表格

构造方法摘要
IllegalComponentStateException()
          构造不带详细消息的 IllegalComponentStateException。
IllegalComponentStateException(String s)
          构造带指定详细消息的 IllegalComponentStateException。
 
方法摘要
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

IllegalComponentStateException

public IllegalComponentStateException()
构造不带详细消息的 IllegalComponentStateException。详细消息是描述此特定异常的字符串。


IllegalComponentStateException

public IllegalComponentStateException(String s)
构造带指定详细消息的 IllegalComponentStateException。详细消息是描述此特定异常的字符串。

参数:
s - 包含详细消息的 String

JavaTM 2 Platform
Standard Ed. 5.0

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策