Examples of UnsupportedVersionException


Examples of org.chromium.sdk.UnsupportedVersionException

        serverVersionString = devToolsHandler.version(OPERATION_TIMEOUT_MS);
      } catch (TimeoutException e) {
        throw JavascriptVmImpl.newIOException("Failed to get protocol version from remote", e);
      }
      if (serverVersionString == null) {
        throw new UnsupportedVersionException(BrowserImpl.PROTOCOL_VERSION, null);
      }
      Version serverVersion = Version.parseString(serverVersionString);
      if (serverVersion == null ||
          serverVersion.compareTo(BrowserImpl.PROTOCOL_VERSION) < 0) {
        throw new UnsupportedVersionException(BrowserImpl.PROTOCOL_VERSION, serverVersion);
      }
    }
View Full Code Here

Examples of org.gradle.tooling.UnsupportedVersionException

    public <T> T run(BuildAction<T> action, ConsumerOperationParameters operationParameters) throws UnsupportedOperationException, IllegalStateException {
        throw fail();
    }

    private UnsupportedVersionException fail() {
        return new UnsupportedVersionException(String.format("The specified %s does not implement the tooling API. Support for the tooling API was added in Gradle 1.0-milestone-3 and is available in all later versions.", distribution.getDisplayName()));
    }
View Full Code Here

Examples of org.jitterbit.util.version.UnsupportedVersionException

        if (serverVersion.isEarlierThan(requiredVersion)) {
            String msg = MessageFormat.format(
                            "The current version of the Jitterbit Integration Environment requires a minimum server version " +
                            "of {0}. The server {1} is running version {2}. All connections are refused.",
                            new Object[] { requiredVersion, serverName, serverVersion });
            throw new UnsupportedVersionException(serverVersion, msg);
        }
    }
View Full Code Here
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.