public class BlockTradeValidator extends Object implements TradeValidator
Constructor and Description |
---|
BlockTradeValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(com.caplin.trading.Trade trade)
Checks the validity of a Trade .
|
public void validate(com.caplin.trading.Trade trade) throws ValidationException
TradeValidator
ValidationException
if the
trade is not valid.validate
in interface TradeValidator
trade
- The trade to be validatedValidationException
- If there was a problem validating the trade.Copyright © 2015 Caplin Systems.