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.


Constructor Index

 o RowsetValidationException(String, RowsetAccess, InfoBusPropertyMap)
Constructs a new RowsetValidationException

Method Index

 o getProperty(String)
Get more information about the validation exception.
 o getRowset()
Return the RowsetAccess item on which the validation exception was detected

Constructors

 o 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

Methods

 o 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
 o 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