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:
java.io.Serializable, org.gvsig.tools.exception.IBaseException

public class SetFeatureValueException
extends org.gvsig.tools.exception.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, java.lang.Object value)
          Creates a new Exception when setting a Feature value.
SetFeatureValueException(int rowIndex, int columnIndex, java.lang.Object value, java.lang.Throwable cause)
          Creates a new Exception when setting a Feature value.
 
Method Summary
 int getColumnIndex()
           
 int getRowIndex()
           
 java.lang.Object getValue()
           
protected  java.util.Map<java.lang.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,
                                java.lang.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,
                                java.lang.Object value,
                                java.lang.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

getColumnIndex

public int getColumnIndex()
Returns:
the columnIndex

getRowIndex

public int getRowIndex()
Returns:
the rowIndex

getValue

public java.lang.Object getValue()
Returns:
the value

values

protected java.util.Map<java.lang.String,?> values()
Overrides:
values in class org.gvsig.tools.exception.BaseRuntimeException


Copyright © 2014 gvSIG Association. All Rights Reserved.