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

io.qameta.allure.exception.ContextNotFoundException Maven / Gradle / Ivy

There is a newer version: 2.32.0
Show newest version
package io.qameta.allure.exception;

/**
 * Notified about missed context.
 *
 * @see io.qameta.allure.Context
 * @since 2.0
 */
public class ContextNotFoundException extends RuntimeException {

    /**
     * Creates an exception by given context type.
     *
     * @param contextType the type of context.
     */
    public ContextNotFoundException(final Class contextType) {
        super(String.format("Required context not found: %s", contextType));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy