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

org.xbib.helianthus.common.stream.ClosedPublisherException Maven / Gradle / Ivy

package org.xbib.helianthus.common.stream;

import org.xbib.helianthus.common.util.Exceptions;

public final class ClosedPublisherException extends RuntimeException {

    private static final long serialVersionUID = -7665826869012452735L;

    private static final ClosedPublisherException INSTANCE =
            Exceptions.clearTrace(new ClosedPublisherException());

    private ClosedPublisherException() {
    }

    public static ClosedPublisherException get() {
        return Exceptions.isVerbose() ? new ClosedPublisherException() : INSTANCE;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy