javax.infobus
Class RowsetValidationException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.infobus.InvalidDataException
|
+--javax.infobus.RowsetValidationException
- public class RowsetValidationException
- extends InvalidDataException
RowsetValidationExcpetion is thrown by a RowsetAccess DataItem when a method
which modifies values fails. This base class should be extended by data providers
to return more information via the getProperty method.
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
getProperty(java.lang.String propertyName)
Get more information about the validation exception. |
RowsetAccess |
getRowset()
Return the RowsetAccess item on which the validation exception was detected |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
RowsetValidationException
public RowsetValidationException(java.lang.String message,
RowsetAccess rowset,
InfoBusPropertyMap map)
- Constructs a new RowsetValidationException
- Parameters:
rowset
- the RowsetAccess item on which the exception was detectedmessage
- message describing details of the exceptionmap
- a property map
getRowset
public RowsetAccess getRowset()
- Return the RowsetAccess item on which the validation exception was detected
- Returns:
- the RowsetAccess item on which the exception was detected
getProperty
public java.lang.Object getProperty(java.lang.String propertyName)
- Get more information about the validation exception.
this method is to be overridden by the data provider.
- Parameters:
propertyName
- the name of the desired property- Returns:
- the value of the property or null