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

Constructor Summary
RowsetValidationException(java.lang.String message, RowsetAccess rowset, InfoBusPropertyMap map)
          Constructs a new RowsetValidationException
 
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
 

Constructor Detail

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 detected
message - message describing details of the exception
map - a property map
Method Detail

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