Class BeanInstantiationException

All Implemented Interfaces:
Serializable

public class BeanInstantiationException extends BeanException
Exception thrown when instantiation of a bean failed.
See Also:
  • Constructor Details

    • BeanInstantiationException

      public BeanInstantiationException(Class<?> beanClass, Throwable cause)
      Create a new BeanInstantiationException.
      Parameters:
      beanClass - the offending bean class
      cause - the root cause
    • BeanInstantiationException

      public BeanInstantiationException(@NonNull Class<?> beanClass, String msg, Throwable cause)
      Create a new BeanInstantiationException.
      Parameters:
      beanClass - the offending bean class
      msg - the detail message
      cause - the root cause
    • BeanInstantiationException

      public BeanInstantiationException(@NonNull Class<?> beanClass, String msg)
      Create a new BeanInstantiationException.
      Parameters:
      beanClass - the offending bean class
      msg - the detail message
  • Method Details

    • getBeanClass

      public Class<?> getBeanClass()
      Return the offending bean class.
      Returns:
      the bean class