package com.iqser.red.service.persistence.management.v1.processor.exception;

public class RulesTimeoutDetectedException extends RuntimeException {

    private static final String RULE_TIMEOUT_DETECTED_MESSAGE = "A timout (possible endless loop) was detected using the rules for dossierTemplateId %s";

    public RulesTimeoutDetectedException(String dossierTemplateId) {

        super(String.format(RULE_TIMEOUT_DETECTED_MESSAGE, dossierTemplateId));
    }

}
