Package er.distribution.client.exceptions

Examples of er.distribution.client.exceptions.ServerConnectionException


      return remoteObjectStore;
    } catch (Exception e) {
      log.error(e.getMessage(), e);
      if (e.getMessage().indexOf("No instance available") != -1) {
        throw new ServerConnectionException("The server is not available.\nPlease wait 30 seconds and try again.");
      } else if (e.getMessage().indexOf("The requested application was not found on this server") != -1) {
        throw new ServerConnectionException("The server is not available.\nPlease wait 30 seconds and try again.");
      } else {
        throw new ServerConnectionException("Unable to connect to server: " + e.getMessage(), e);
      }
    }
  }
View Full Code Here

TOP

Related Classes of er.distribution.client.exceptions.ServerConnectionException

Copyright © 2018 www.massapicom. 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.