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<?> requiredType, 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<?> getRequiredType()
      Gets the required type.
      • 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<?> requiredType,
                                     BeanRule[] beanRules)
        Instantiates a new NoUniqueBeanException.
        Parameters:
        requiredType - the required type
        beanRules - the bean rules
    • Method Detail

      • getRequiredType

        public java.lang.Class<?> getRequiredType()
        Gets the required type.
        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)