Class UnsupportedOperatorException

All Implemented Interfaces:
Serializable

public class UnsupportedOperatorException extends JemmyException
Is thrown as a result of attempt to use driver for unsupported operator type.
Author:
Alexandre Iline (alexandre.iline@sun.com)
See Also:
  • Constructor Details

    • UnsupportedOperatorException

      public UnsupportedOperatorException(Class driver, Class operator)
      Constructor.
      Parameters:
      driver - a driver
      operator - an operator
  • Method Details

    • checkSupported

      public static void checkSupported(Class driver, Class[] supported, Class operator)
      Checks if operator class is in the list of supported classes.
      Parameters:
      driver - Driver class
      supported - Supported classes.
      operator - Operator class.
      Throws:
      UnsupportedOperatorException - if class is not supported.
    • checkSupported

      public static void checkSupported(Class driver, String[] supported, Class operator)
      Checks if operator class name is in the list of supported classes names.
      Parameters:
      driver - Driver class
      supported - Supported classes names.
      operator - Operator class.
      Throws:
      UnsupportedOperatorException - if class is not supported.