org.netbeans.jemmy
Class JemmyInputException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.netbeans.jemmy.JemmyException
org.netbeans.jemmy.JemmyInputException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ComponentIsNotFocusedException, ComponentIsNotVisibleException, JInternalFrameOperator.WrongInternalFrameStateException, JListOperator.NoSuchItemException, JTabbedPaneOperator.NoSuchPageException, JTextComponentOperator.NoSuchTextException, JTreeOperator.NoSuchPathException
public class JemmyInputException
- extends JemmyException
Exception can be thrown as a result of incorrect input operations.
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
- See Also:
- Serialized Form
JemmyInputException
public JemmyInputException(Component comp)
- Constructor.
- Parameters:
comp
- Component regarding which exception is thrown.
JemmyInputException
public JemmyInputException(String message,
Component comp)
- Constructor.
- Parameters:
message
- A descriptive message.comp
- Component regarding which exception is thrown.
getComponent
public Component getComponent()
- Returns component.
- Returns:
- the Component associated with the exception.