public class ComponentLookupException extends RuntimeException
ComponentFinder
.Constructor and Description |
---|
ComponentLookupException(String message)
Creates a new
ComponentLookupException . |
ComponentLookupException(String message,
Collection<? extends Component> found)
Creates a new
ComponentLookupException . |
Modifier and Type | Method and Description |
---|---|
Collection<Component> |
found() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ComponentLookupException(@Nonnull String message, @Nonnull Collection<? extends Component> found)
ComponentLookupException
.message
- the detail message.found
- the AWT and Swing Component
s found by the lookup (if any).public ComponentLookupException(@Nonnull String message)
ComponentLookupException
.message
- the detail message.@Nonnull public final Collection<Component> found()
Component
s found by the lookup (if any).Copyright © 2014–2019 AssertJ. All rights reserved.