Package com.sun.management.snmp

Examples of com.sun.management.snmp.SnmpStatusException


   * @throws com.sun.management.snmp.SnmpStatusException If an error occurs
   */
  public static Integer integerValue(Long V) throws SnmpStatusException {
    long v = V.longValue();
    if (v > (pow(2, 31) - 1)) {
      throw new SnmpStatusException("Returned intrumented value size too big");
    }
    Integer ret = new Integer(V.intValue());
    return ret;
  }
View Full Code Here

TOP

Related Classes of com.sun.management.snmp.SnmpStatusException

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.