@Override
public void validate() throws ValidateException
{
if (this.backgroundValidationMinutes != null && this.backgroundValidationMinutes < 0)
throw new ValidateException(bundle.invalidNegative(Validation.Tag.BACKGROUNDVALIDATIONMINUTES.getLocalName()));
if (this.validConnectionChecker != null)
try
{
this.validConnectionChecker.validate();
}
catch (ValidateException ve)
{
throw new ValidateException(bundle.invalidTag(Validation.Tag.VALIDCONNECTIONCHECKER.getLocalName()), ve);
}
if (this.exceptionSorter != null)
try
{
this.exceptionSorter.validate();
}
catch (ValidateException ve)
{
throw new ValidateException(bundle.invalidTag(Validation.Tag.EXCEPTIONSORTER.getLocalName()), ve);
}
if (this.staleConnectionChecker != null)
try
{
this.staleConnectionChecker.validate();
}
catch (ValidateException ve)
{
throw new ValidateException(bundle.invalidTag(Validation.Tag.STALECONNECTIONCHECKER.getLocalName()), ve);
}
}