Class BeanInstantiationException

  • All Implemented Interfaces:
    java.io.Serializable

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

      Constructors 
      Constructor Description
      BeanInstantiationException​(java.lang.Class<?> beanClass, java.lang.String msg)
      Create a new BeanInstantiationException.
      BeanInstantiationException​(java.lang.Class<?> beanClass, java.lang.String msg, java.lang.Throwable cause)
      Create a new BeanInstantiationException.
      BeanInstantiationException​(java.lang.Class<?> beanClass, java.lang.Throwable cause)
      Create a new BeanInstantiationException.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getBeanClass()
      Return the offending bean class.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BeanInstantiationException

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

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

        public BeanInstantiationException​(java.lang.Class<?> beanClass,
                                          java.lang.String msg)
        Create a new BeanInstantiationException.
        Parameters:
        beanClass - the offending bean class
        msg - the detail message
    • Method Detail

      • getBeanClass

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