Class NoUniqueBeanException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoUniqueBeanException
    extends BeanException
    The Class NoUniqueBeanException.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NoUniqueBeanException​(java.lang.Class<?> type, BeanRule[] beanRules)
      Instantiates a new NoUniqueBeanException.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getBeanDescriptions​(BeanRule[] beanRules)  
      BeanRule[] getBeanRules()
      Gets the bean rules.
      java.lang.Class<?> getType()
      Returns the type required type of the missing bean.
      • 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

      • NoUniqueBeanException

        public NoUniqueBeanException​(java.lang.Class<?> type,
                                     BeanRule[] beanRules)
        Instantiates a new NoUniqueBeanException.
        Parameters:
        type - the required type of the missing bean
        beanRules - the bean rules
    • Method Detail

      • getType

        public java.lang.Class<?> getType()
        Returns the type required type of the missing bean.
        Returns:
        the required type
      • getBeanRules

        public BeanRule[] getBeanRules()
        Gets the bean rules.
        Returns:
        the bean rules
      • getBeanDescriptions

        public static java.lang.String getBeanDescriptions​(BeanRule[] beanRules)