filebot/source/net/filebot/format/BindingException.java

18 lines
443 B
Java

package net.filebot.format;
public class BindingException extends RuntimeException {
public BindingException(String message, Throwable cause) {
super(message, cause);
}
public BindingException(String binding, String innerMessage) {
this(binding, innerMessage, null);
}
public BindingException(String binding, String innerMessage, Throwable cause) {
this(String.format("Binding \"%s\": %s", binding, innerMessage), cause);
}
}