@Override
    public void validate() {
        String target = getTargetName();
        //validate the parameters
        if (value() < 0) {
            throw new FaultToleranceDefinitionException(Tr.formatMessage(tc, "timeout.parameter.invalid.value.CWMFT5011E", value(), target));
        }

    }
@ Override public void validate ( ) { String target = getTargetName ( ) ; if ( value ( ) < 0 ) { throw new FaultToleranceDefinitionException ( Tr . formatMessage ( tc , "timeout.parameter.invalid.value.CWMFT5011E" , value ( ) , target ) ) ; } }
Validate the Timeout policy to make sure all the parameters e.g. maxRetries, delay, jitter, maxDuration must not be negative.