public class

ExpandVetoException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ javax.swing.tree.ExpandVetoException

Class Overview

Exception used to stop and expand/collapse from happening. See How to Write a Tree-Will-Expand Listener in The Java Tutorial for further information and examples.

Summary

Fields
protected TreeExpansionEvent event The event that the exception was created for.
Public Constructors
ExpandVetoException(TreeExpansionEvent event)
Constructs an ExpandVetoException object with no message.
ExpandVetoException(TreeExpansionEvent event, String message)
Constructs an ExpandVetoException object with the specified message.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Fields

protected TreeExpansionEvent event

The event that the exception was created for.

Public Constructors

public ExpandVetoException (TreeExpansionEvent event)

Constructs an ExpandVetoException object with no message.

Parameters
event a TreeExpansionEvent object

public ExpandVetoException (TreeExpansionEvent event, String message)

Constructs an ExpandVetoException object with the specified message.

Parameters
event a TreeExpansionEvent object
message a String containing the message