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

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.GetFeatureAtException
All Implemented Interfaces:
Serializable, IBaseException

public class GetFeatureAtException
extends BaseRuntimeException

Exception thrown when there is an error while getting a Feature in a position.

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
GetFeatureAtException(int rowIndex)
          Creates a new Exception when getting a Feature.
GetFeatureAtException(int rowIndex, Throwable cause)
          Creates a new Exception when getting a Feature.
 
Method Summary
 int getRowIndex()
           
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

GetFeatureAtException

public GetFeatureAtException(int rowIndex)
Creates a new Exception when getting a Feature.

Parameters:
rowIndex - the position of the Feature

GetFeatureAtException

public GetFeatureAtException(int rowIndex,
                             Throwable cause)
Creates a new Exception when getting a Feature.

Parameters:
rowIndex - the position of the Feature
cause - the original Throwable
Method Detail

getRowIndex

public int getRowIndex()
Returns:
the rowIndex

values

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


Copyright © 2004-2013 gvSIG. All Rights Reserved.