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

com.alibaba.qlexpress4.exception.ErrorReporter Maven / Gradle / Ivy

package com.alibaba.qlexpress4.exception;

public interface ErrorReporter {

    default QLRuntimeException report(Object catchObj, String errorCode, String reason) {
        return reportFormatWithCatch(catchObj, errorCode, reason);
    }

    default QLRuntimeException report(String errorCode, String reason) {
        return reportFormatWithCatch(null, errorCode, reason);
    }

    default QLRuntimeException reportFormat(String errorCode, String format, Object... args) {
        return reportFormatWithCatch(null, errorCode, format, args);
    }

    QLRuntimeException reportFormatWithCatch(Object catchObj, String errorCode, String format, Object... args);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy