Examples of LivelinkIOException


Examples of com.google.enterprise.connector.otex.LivelinkIOException

      // and in English, and I cannot think of another way to
      // distinguish this error, which we must distinguish.
      if ("Premature end-of-data on socket".equals(e.getMessage())) {
        return new RepositoryDocumentException(e);
      } else {
        return new LivelinkIOException(e, LOGGER);
      }
    } else if (e instanceof LLBadServerCertificateException
        || e instanceof LLCouldNotConnectException
        || e instanceof LLCouldNotConnectHTTPException
        || e instanceof LLHTTPAccessDeniedException
        || e instanceof LLHTTPCGINotFoundException
        || e instanceof LLHTTPClientException
        || e instanceof LLHTTPForbiddenException
        || e instanceof LLHTTPProxyAuthRequiredException
        || e instanceof LLHTTPRedirectionException
        || e instanceof LLHTTPServerException
        || e instanceof LLSSLNotAvailableException
        || e instanceof LLSecurityProviderException
        || e instanceof LLUnsupportedAuthMethodException
        || e instanceof LLWebAuthInitException) {
      return new LivelinkIOException(e, LOGGER);
    } else {
      return new LivelinkException(e, LOGGER);
    }
  }
View Full Code Here

Examples of com.google.enterprise.connector.otex.LivelinkIOException

      throws RepositoryException {
    if (objectId == MockConstants.DOCUMENT_OBJECT_ID) {
      throw new RepositoryDocumentException(new RuntimeException(
              "Simulated Premature end-of-data on socket"));
    } else if (objectId == MockConstants.IO_OBJECT_ID) {
      throw new LivelinkIOException(new RuntimeException(
              "Simulated Server did not accept open request"), LOGGER);
    } else if (objectId == MockConstants.REPOSITORY_OBJECT_ID) {
      throw new LivelinkException("This document version is not yet "
          + "available.  It will be uploaded from a remote location "
          + "at a later time. Please try again later.", LOGGER);
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.