All Packages Class Hierarchy This Package Previous Next Index
Class javax.infobus.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.
-
RowsetValidationException(String, RowsetAccess, InfoBusPropertyMap)
- Constructs a new RowsetValidationException
-
getProperty(String)
- Get more information about the validation exception.
-
getRowset()
- Return the RowsetAccess item on which the validation exception was detected
RowsetValidationException
public RowsetValidationException(String message,
RowsetAccess rowset,
InfoBusPropertyMap map)
- Constructs a new RowsetValidationException
- Parameters:
- rowset - the RowsetAccess item on which the exception was detected
- message - message describing details of the exception
- map - 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 Object getProperty(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
All Packages Class Hierarchy This Package Previous Next Index