Class ComponentLookupException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.fest.swing.exception.ComponentLookupException
All Implemented Interfaces:
Serializable

public class ComponentLookupException extends RuntimeException
Understands an error thrown when looking up a component using a ComponentFinder.
See Also:
  • Field Details

  • Constructor Details

    • ComponentLookupException

      public ComponentLookupException(String message, Collection<? extends Component> found)
      Parameters:
      message - the detail message.
      found - the Components found by the lookup (if any.)
    • ComponentLookupException

      public ComponentLookupException(String message)
      Parameters:
      message - the detail message.
  • Method Details

    • found

      public final Collection<? extends Component> found()
      Returns the Components found by the lookup (if any.)
      Returns:
      the Components found by the lookup (if any.)