org.netbeans.jemmy
Class ComponentIsNotFocusedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.netbeans.jemmy.JemmyException
                  extended by org.netbeans.jemmy.JemmyInputException
                      extended by org.netbeans.jemmy.ComponentIsNotFocusedException
All Implemented Interfaces:
java.io.Serializable

public class ComponentIsNotFocusedException
extends JemmyInputException

Exception can be thrown as a result of attempt to produce a key operation for a component which does not have focus.

Author:
Alexandre Iline (alexandre.iline@sun.com)
See Also:
Serialized Form

Constructor Summary
ComponentIsNotFocusedException(java.awt.Component comp)
          Constructs a ComponentIsNotFocusedException object.
 
Method Summary
 
Methods inherited from class org.netbeans.jemmy.JemmyInputException
getComponent
 
Methods inherited from class org.netbeans.jemmy.JemmyException
getInnerException, getInnerThrowable, getObject, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComponentIsNotFocusedException

public ComponentIsNotFocusedException(java.awt.Component comp)
Constructs a ComponentIsNotFocusedException object.

Parameters:
comp - a Component.