Package ch.shamu.jsendnrdp

Examples of ch.shamu.jsendnrdp.NRDPException


    try {
      result = parseResponseXML(responseString);
    }
    catch (Exception e) {
      throw new NRDPException("Failed to parse http response body from NRDP server (should be XML) : " + responseString, e);
    }

    if (!result.getStatus().equals("0")) {
      throw new NRDPException("NRDP server returned with code " + result.getStatus() + " and message " + result.getMessage());
    }

    logger.info(results.size() + " check results succesfully sent to Nagios");
  }
View Full Code Here

TOP

Related Classes of ch.shamu.jsendnrdp.NRDPException

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.