All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.mk.pump.web.exceptions.SubElementsNotFoundException Maven / Gradle / Ivy

package ru.mk.pump.web.exceptions;

import ru.mk.pump.commons.exception.PumpMessage;

@SuppressWarnings({"unused", "WeakerAccess"})
public class SubElementsNotFoundException extends ElementException {

    private static final String TITLE = "Cannot find expected sub rules by conditions : '%s'";

    public SubElementsNotFoundException(String conditions) {
        super(new PumpMessage(String.format(TITLE, conditions)));
    }

    public SubElementsNotFoundException(String conditions, Throwable cause) {
        super(new PumpMessage(String.format(TITLE, conditions)), cause);
    }

    public SubElementsNotFoundException(PumpMessage exceptionMessage) {
        super(exceptionMessage);
    }

    public SubElementsNotFoundException(PumpMessage exceptionMessage, Throwable cause) {
        super(exceptionMessage, cause);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy