Package org.netbeans.jemmy.drivers
Class UnsupportedOperatorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.netbeans.jemmy.JemmyException
org.netbeans.jemmy.drivers.UnsupportedOperatorException
- All Implemented Interfaces:
Serializable
Is thrown as a result of attempt to use driver for unsupported operator type.
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkSupported
(Class driver, Class[] supported, Class operator) Checks if operator class is in the list of supported classes.static void
checkSupported
(Class driver, String[] supported, Class operator) Checks if operator class name is in the list of supported classes names.Methods inherited from class org.netbeans.jemmy.JemmyException
getInnerException, getInnerThrowable, getObject, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
UnsupportedOperatorException
Constructor.- Parameters:
driver
- a driveroperator
- an operator
-
-
Method Details
-
checkSupported
Checks if operator class is in the list of supported classes.- Parameters:
driver
- Driver classsupported
- Supported classes.operator
- Operator class.- Throws:
UnsupportedOperatorException
- if class is not supported.
-
checkSupported
Checks if operator class name is in the list of supported classes names.- Parameters:
driver
- Driver classsupported
- Supported classes names.operator
- Operator class.- Throws:
UnsupportedOperatorException
- if class is not supported.
-