Debian Codegraph @

junit-jupiter-api/src/main/java/org/junit/jupiter/api/extension/TestInstantiationException.java

raw symbols SCIP
1 /*
2 * Copyright 2015-2024 the original author or authors.
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v2.0 which
6 * accompanies this distribution and is available at
7 *
8 * https://www.eclipse.org/legal/epl-v20.html
9 */
10
11 package org.junit.jupiter.api.extension;
12
13 import static org.apiguardian.api.API.Status.STABLE;
14
15 import org.apiguardian.api.API;
16 import org.junit.platform.commons.JUnitException;
17
18 /**
19 * Thrown if an error is encountered during the execution of
20 * a {@link TestInstanceFactory}.
21 *
22 * @since 5.3
23 */
24 @API(status = STABLE, since = "5.10")
25 public class TestInstantiationException extends JUnitException {
26
27 private static final long serialVersionUID = 1L;
28
29 public TestInstantiationException(String message) {
30 super(message);
31 }
32
33 public TestInstantiationException(String message, Throwable cause) {
34 super(message, cause);
35 }
36
37 }