Copyright © 2005 Scientific Applications. All Rights Reserved.

com.sciapp.table
Class ColumnModelVetoException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sciapp.table.ColumnModelVetoException
All Implemented Interfaces:
Serializable

public class ColumnModelVetoException
extends Exception

Exception which is used to stop the addition, removal and moving of the columns of a TableColumnModel.

Since:
3.4
See Also:
Serialized Form

Field Summary
protected  TableColumnModelEvent event
          the table column model event responsible for the exception.
 
Constructor Summary
ColumnModelVetoException(TableColumnModelEvent event)
          Constructs a ColumnModelVetoException with no message.
ColumnModelVetoException(TableColumnModelEvent event, String message)
          Constructs a ColumnModelVetoException with the specified message.
 
Method Summary
 TableColumnModelEvent getColumnModelEvent()
          Returns the event that was responsible for the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

event

protected TableColumnModelEvent event
the table column model event responsible for the exception.

Constructor Detail

ColumnModelVetoException

public ColumnModelVetoException(TableColumnModelEvent event)
Constructs a ColumnModelVetoException with no message.


ColumnModelVetoException

public ColumnModelVetoException(TableColumnModelEvent event,
                                String message)
Constructs a ColumnModelVetoException with the specified message.

Method Detail

getColumnModelEvent

public TableColumnModelEvent getColumnModelEvent()
Returns the event that was responsible for the exception.

Returns:
the event

Copyright © 2005 Scientific Applications. All Rights Reserved.