Package net.jsunit

Source Code of net.jsunit.InvalidBrowserSpecificationException

package net.jsunit;

import net.jsunit.action.InvalidRemoteMachineUrlBrowserCombination;

public class InvalidBrowserSpecificationException extends Exception {
    private String platformString;
    private String browserString;

    public InvalidBrowserSpecificationException(String platformString, String browserString) {
        this.platformString = platformString;
        this.browserString = browserString;
    }

    public InvalidBrowserSpecificationException(String string) {
        this.platformString = string;
    }

    public InvalidRemoteMachineUrlBrowserCombination createInvalidRemoteRunSpecification() {
        return new InvalidRemoteMachineUrlBrowserCombination(platformString, browserString);
    }

    public String getAttemptedPlatformBrowserString() {
        return platformString + "/" + browserString;
    }
}
TOP

Related Classes of net.jsunit.InvalidBrowserSpecificationException

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.