Class TestContextAotException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.test.context.aot.TestContextAotException
- All Implemented Interfaces:
Serializable
Thrown if an error occurs during AOT build-time processing or AOT run-time
execution in the Spring TestContext Framework.
- Since:
- 6.0
- Author:
- Sam Brannen
- See Also:
-
Constructor Summary
ConstructorDescriptionTestContextAotException
(String message) Create a newTestContextAotException
.TestContextAotException
(String message, Throwable cause) Create a newTestContextAotException
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TestContextAotException
Create a newTestContextAotException
.- Parameters:
message
- the detail message
-
TestContextAotException
Create a newTestContextAotException
.- Parameters:
message
- the detail messagecause
- the root cause
-