io.github.dengchen2020.core.exception.call.EmptyCollectionException Maven / Gradle / Ivy
package io.github.dengchen2020.core.exception.call;
import io.github.dengchen2020.core.exception.CallException;
/**
* 空集合 或 集合中只有空元素
*
* @author dengchen
* @since 2019/10/14 16:18
*/
public class EmptyCollectionException extends CallException {
private static final Integer CODE = 102;
public EmptyCollectionException(Throwable cause) {
super("集合不能为空", cause, CODE);
}
public EmptyCollectionException() {
this(null);
}
}