Class JBBPTooManyFieldsFoundException

All Implemented Interfaces:
Serializable

public class JBBPTooManyFieldsFoundException extends JBBPFinderException
The Exception will be thrown during search operation for only field, if there are too many variants.
Since:
1.0
See Also:
  • Constructor Details

    • JBBPTooManyFieldsFoundException

      public JBBPTooManyFieldsFoundException(int numberOfInstances, String message, String nameOrPath, Class<? extends JBBPAbstractField> fieldType)
      The Constructor.
      Parameters:
      numberOfInstances - the number of found variants.
      message - the exception message
      nameOrPath - the name or the path used for search
      fieldType - the field type used for search
  • Method Details

    • getNumberOfFoundInstances

      public int getNumberOfFoundInstances()
      Get the number of found instances.
      Returns:
      the number of found instances as integer