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

org.openfact.ServerStartupError Maven / Gradle / Ivy

There is a newer version: 1.1.3.Final
Show newest version
package org.openfact;

public class ServerStartupError extends Error {

	private static final long serialVersionUID = 1L;
	
	private final boolean fillStackTrace;

    public ServerStartupError(String message) {
        super(message);
        fillStackTrace = true;
    }

    public ServerStartupError(String message, boolean fillStackTrace) {
        super(message);
        this.fillStackTrace = fillStackTrace;
    }

    @Override
    public synchronized Throwable fillInStackTrace() {
        if (fillStackTrace) {
            return super.fillInStackTrace();
        } else {
            return this;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy