java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.swing.tree.ExpandVetoException
public class ExpandVetoException
用于阻止扩展/折叠发生的异常。有关更多信息和示例,请参阅 The Java Tutorial 中的 How to Write a Tree-Will-Expand Listener 一节。
字段摘要 | |
---|---|
protected TreeExpansionEvent |
event 为其创建异常的事件。 |
构造方法摘要 | |
---|---|
ExpandVetoException(TreeExpansionEvent event) 构造不带任何消息的 ExpandVetoException 对象。 |
|
ExpandVetoException(TreeExpansionEvent event, String message) 构造带指定消息的 ExpandVetoException 对象。 |
方法摘要 |
---|
从类 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 |
字段详细信息 |
---|
protected TreeExpansionEvent event
构造方法详细信息 |
---|
public ExpandVetoException(TreeExpansionEvent event)
event
- TreeExpansionEvent 对象
public ExpandVetoException(TreeExpansionEvent event, String message)
event
- TreeExpansionEvent 对象
message
- 包含该消息的 String