org.fest.swing.exception
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
.
- Author:
- Alex Ruiz
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ComponentLookupException
public ComponentLookupException(String message,
Collection<? extends Component> found)
- Creates a new
ComponentLookupException
.
- Parameters:
message
- the detail message.found
- the Component
s found by the lookup (if any.)
ComponentLookupException
public ComponentLookupException(String message)
- Creates a new
ComponentLookupException
.
- Parameters:
message
- the detail message.
found
public final Collection<? extends Component> found()
- Returns the
Component
s found by the lookup (if any.)
- Returns:
- the
Component
s found by the lookup (if any.)
Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.