public interface TransactionValidator
Transaction
instances.
jDTAUS Banking SPI TransactionValidator
specification to be used by implementations to validate
Transaction
instances to hold valid values.
Modifier and Type | Method and Description |
---|---|
IllegalTransactionException |
assertValidTransaction(LogicalFile lFile,
Transaction transaction,
IllegalTransactionException result)
Checks a given
Transaction instance to hold valid values for use with a given LogicalFile . |
IllegalTransactionException assertValidTransaction(LogicalFile lFile, Transaction transaction, IllegalTransactionException result) throws IOException
Transaction
instance to hold valid values for use with a given LogicalFile
.lFile
- The logical file holding transaction
.transaction
- The instance to check.result
- The validation result to be used or null
.result
(maybe null
if the implementation did not
detect illegal values).NullPointerException
- if either lFile
or transaction
is null
.IOException
- if reading fails.Copyright © 2005–2014 jDTAUS. All rights reserved.