try {
Object result = robotReference.invokeMethod(method, params, paramClasses);
synchronizeRobot();
return result;
} catch (InvocationTargetException e) {
throw (new JemmyException("Exception during java.awt.Robot accessing", e));
} catch (IllegalStateException e) {
throw (new JemmyException("Exception during java.awt.Robot accessing", e));
} catch (NoSuchMethodException e) {
throw (new JemmyException("Exception during java.awt.Robot accessing", e));
} catch (IllegalAccessException e) {
throw (new JemmyException("Exception during java.awt.Robot accessing", e));
}
}