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

de.qytera.qtaf.testrail.utils.APIException Maven / Gradle / Ivy

There is a newer version: 0.2.23
Show newest version
package de.qytera.qtaf.testrail.utils;

/**
 * Exceptions which occur during interaction with TestRail's API.
 */
public class APIException extends Exception {
    /**
     * Create a new {@link APIException} with the given status and message.
     *
     * @param status  the status
     * @param message the message
     */
    public APIException(int status, String message) {
        super("TestRail API returned HTTP %d (%s)".formatted(status, message));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy