Class AotException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.beans.factory.aot.AotException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AotProcessingException
Abstract superclass for all exceptions thrown by ahead-of-time processing.
- Since:
- 6.2
- Author:
- Stephane Nicoll
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
AotException
(String msg, Throwable cause) Create an instance with the specified message and root cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AotException
Create an instance with the specified message and root cause.- Parameters:
msg
- the detail messagecause
- the root cause
-