Class AotBeanProcessingException

All Implemented Interfaces:
Serializable

public class AotBeanProcessingException extends AotProcessingException
Thrown when AOT fails to process a bean.
Since:
6.2
Author:
Stephane Nicoll
See Also:
  • Constructor Details

    • AotBeanProcessingException

      public AotBeanProcessingException(RegisteredBean registeredBean, String msg, @Nullable Throwable cause)
      Create an instance with the RegisteredBean that fails to be processed, a detail message, and an optional root cause.
      Parameters:
      registeredBean - the registered bean that fails to be processed
      msg - the detail message
      cause - the root cause, if any
    • AotBeanProcessingException

      public AotBeanProcessingException(RegisteredBean registeredBean, String msg)
      Shortcut to create an instance with the RegisteredBean that fails to be processed with only a detail message.
      Parameters:
      registeredBean - the registered bean that fails to be processed
      msg - the detail message
  • Method Details

    • getBeanDefinition

      public RootBeanDefinition getBeanDefinition()
      Return the bean definition of the bean that failed to be processed.