ColumnModelVetoException

Top  Previous  Next

 

ColumnModelVetoException is thrown from VetoableTableColumnModelListeners to indicate that a specific TableColumnModelEvent should not take place. The exception is constructed by specifying the TableColumnModelEvent and an optional message string:

 

public ColumnModelVetoException(TableColumnModelEvent event)

public ColumnModelVetoException(TableColumnModelEvent event, String message)

 

You can get the event that was responsible for the exception, with the method:

 

public TableColumnModelEvent getColumnModelEvent()