Package com.ericsson.otp.stdlib

Examples of com.ericsson.otp.stdlib.OtpStopException


            ((OtpErlangBinary) cmdTuple.elementAt(1)).binaryValue());
        del(queryString);
      } else {
        jlog.severe("Received " + cmdTuple.elementAt(1)
            + " instead of a binary in " + cmdTuple);
        throw new OtpStopException();
      }
    } else if (cmdName.equals("add")) {
      // {add, Docs :: [[{atom(), string()}]]}
      try {
        add(this.translator.convert((OtpErlangList) cmdTuple
            .elementAt(1)));
      } catch (UnsupportedFieldTypeException ufte) {
        jlog.severe(ufte.getMessage());
        ufte.printStackTrace();
      }
    } else if (cmdName.equals("stop")) { // {stop}
      jlog.info("Stopping");
      throw new OtpStopException();
    }
  }
View Full Code Here

TOP

Related Classes of com.ericsson.otp.stdlib.OtpStopException

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.