Examples of OtpIOException


Examples of org.springframework.erlang.OtpIOException

  }

  public static OtpException convertOtpAccessException(Exception ex) {
    Assert.notNull(ex, "Exception must not be null");
    if (ex instanceof IOException) {
      return new OtpIOException((IOException) ex);
    }
    if (ex instanceof OtpAuthException) {
      return new org.springframework.erlang.OtpAuthException((OtpAuthException) ex);
    }
    //fallback
View Full Code Here

Examples of org.springframework.erlang.OtpIOException

  public Connection createConnection() throws UnknownHostException, OtpAuthException, IOException {
    try {
      return new DefaultConnection(otpSelf.connect(otpPeer));
    } catch (IOException ex) {
      throw new OtpIOException("failed to connect from '" + this.selfNodeName + "' to peer node '"
          + this.peerNodeName + "'", ex);
    }
  }
View Full Code Here

Examples of org.springframework.erlang.OtpIOException

        this.otpSelf = new OtpSelf(selfNodeNameToUse.trim(), this.cookie);
      } else {
        this.otpSelf = new OtpSelf(selfNodeNameToUse.trim());
      }
    } catch (IOException e) {
      throw new OtpIOException(e);
    }
    this.otpPeer = new OtpPeer(this.peerNodeName.trim());

  }
View Full Code Here

Examples of org.springframework.erlang.OtpIOException

    synchronized (this.connectionMonitor) {
      if (this.connection == null) {
        try {
          initConnection();
        } catch (IOException e) {
          throw new OtpIOException("failed to connect from '"
              + this.selfNodeName + "' to peer node '"
              + this.peerNodeName + "'", e);
        }

      }
View Full Code Here

Examples of org.springframework.erlang.OtpIOException

        this.otpSelf = new OtpSelf(selfNodeNameToUse.trim());
      } else {
        this.otpSelf = new OtpSelf(selfNodeNameToUse.trim(), this.cookie);
      }
    } catch (IOException e) {
      throw new OtpIOException(e);
    }
    this.otpPeer = new OtpPeer(this.peerNodeName.trim());
  }
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.