com.applitools.eyes.InvalidPositionProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eyes-sdk-core-java3-jersey2x Show documentation
Show all versions of eyes-sdk-core-java3-jersey2x Show documentation
Applitools Eyes SDK base for Java
package com.applitools.eyes;
/**
* An implementation of {@link PositionProvider} which throws an exception
* for every method. Can be used as a placeholder until an actual
* implementation is set.
*/
public class InvalidPositionProvider implements PositionProvider {
public Location getCurrentPosition() {
throw new IllegalStateException(
"This class does not implement methods!");
}
public void setPosition(Location location) {
throw new IllegalStateException(
"This class does not implement methods!");
}
public RectangleSize getEntireSize() {
throw new IllegalStateException(
"This class does not implement methods!");
}
public PositionMemento getState() {
throw new IllegalStateException(
"This class does not implement methods!");
}
public void restoreState(PositionMemento state) {
throw new IllegalStateException(
"This class does not implement methods!");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy