org.gvsig.fmap.mapcontrol.dal.feature.swing.table
Class SetFeatureValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.gvsig.tools.exception.BaseRuntimeException
                  extended by org.gvsig.fmap.mapcontrol.dal.feature.swing.table.SetFeatureValueException
All Implemented Interfaces:
Serializable, IBaseException

public class SetFeatureValueException
extends BaseRuntimeException

Exception thrown when there is an error while updating a Feature through a FeatureTableModel.

Author:
Cèsar Ordiñana
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.gvsig.tools.exception.BaseRuntimeException
code, formatString, messageKey
 
Constructor Summary
SetFeatureValueException(int rowIndex, int columnIndex, Object value)
          Creates a new Exception when setting a Feature value.
SetFeatureValueException(int rowIndex, int columnIndex, Object value, Throwable cause)
          Creates a new Exception when setting a Feature value.
 
Method Summary
 int getColumnIndex()
           
 int getRowIndex()
           
 Object getValue()
           
protected  Map<String,?> values()
           
 
Methods inherited from class org.gvsig.tools.exception.BaseRuntimeException
getCode, getFormatString, getLocalizedMessage, getLocalizedMessage, getLocalizedMessageStack, getLocalizedMessageStack, getMessage, getMessage, getMessageKey, getMessageStack, getMessageStack, iterator, setCode, setFormatString, setMessageKey, setValue, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetFeatureValueException

public SetFeatureValueException(int rowIndex,
                                int columnIndex,
                                Object value)
Creates a new Exception when setting a Feature value.

Parameters:
rowIndex - the position of the Feature
columnIndex - the position of the value into the Feature
value - the value to set

SetFeatureValueException

public SetFeatureValueException(int rowIndex,
                                int columnIndex,
                                Object value,
                                Throwable cause)
Creates a new Exception when setting a Feature value.

Parameters:
rowIndex - the position of the Feature
columnIndex - the position of the value into the Feature
value - the value to set
cause - the original Throwable
Method Detail

getRowIndex

public int getRowIndex()
Returns:
the rowIndex

getColumnIndex

public int getColumnIndex()
Returns:
the columnIndex

getValue

public Object getValue()
Returns:
the value

values

protected Map<String,?> values()
Overrides:
values in class BaseRuntimeException


Copyright © 2004-2013 gvSIG. All Rights Reserved.