org.netbeans.jemmy.operators
Class JListOperator.NoSuchItemException

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.operators.JListOperator.NoSuchItemException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
JListOperator

public class JListOperator.NoSuchItemException
extends JemmyInputException

Can be throught during item selecting if list does not have item requested.

See Also:
Serialized Form

Constructor Summary
JListOperator.NoSuchItemException(int index)
          Constructor.
JListOperator.NoSuchItemException(java.lang.String item)
          Constructor.
 
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

JListOperator.NoSuchItemException

public JListOperator.NoSuchItemException(java.lang.String item)
Constructor.

Parameters:
item - an item's text

JListOperator.NoSuchItemException

public JListOperator.NoSuchItemException(int index)
Constructor.

Parameters:
index - an item's index