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

com.fastchar.slf4j.core.FastExceptionProvider Maven / Gradle / Ivy

The newest version!
package com.fastchar.slf4j.core;

import com.fastchar.core.FastChar;
import com.fastchar.interfaces.IFastException;

public class FastExceptionProvider implements IFastException {

    @Override
    public boolean onPrintException(Throwable throwable) {
        if (!FastChar.getConstant().isWebStarted()) {
            return false;
        }
        if (FastChar.getConstant().isWebStopped()) {
            return false;
        }
        FastChar.getLogger().error(this.getClass(), throwable);
        return false;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy