
com.github.lontime.extcosid.jdbi.exception.SegmentNameMissingException Maven / Gradle / Ivy
package com.github.lontime.extcosid.jdbi.exception;
import com.github.lontime.shaded.com.google.common.base.Strings;
import me.ahoo.cosid.CosIdException;
/**
* SegmentNameMissingException.
* @author lontime
* @since 1.0
*/
public class SegmentNameMissingException extends CosIdException {
private final String name;
/**
* Constructs a new runtime exception with {@code null} as its
* detail message. The cause is not initialized, and may subsequently be
* initialized by a call to {@link #initCause}.
*
* @param name name of segment
*/
public SegmentNameMissingException(String name) {
super(Strings.lenientFormat("name:[%s] missing.", name));
this.name = name;
}
public String getName() {
return name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy