io.qameta.allure.exception.ContextNotFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of allure-plugin-api Show documentation
Show all versions of allure-plugin-api Show documentation
Module allure-plugin-api of Allure Framework.
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