mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
31.30.2014 2f01ee4d569022fff64691323b9bbcedc4285d98
opendj3-server-dev/src/snmp/src/org/opends/server/snmp/SNMPClassLoaderProvider.java
@@ -218,7 +218,7 @@
            if (this.snmpAdaptor == null) {
              throw new Exception(
                   ERR_SNMP_CONNHANDLER_BAD_CONFIGURATION.get().toString());
                   ERR_SNMP_CONNHANDLER_BAD_CONFIGURATION.get());
            }
            // Create the Usm MIB to allow user management
@@ -232,7 +232,7 @@
                    this.snmpAdaptor.registerUsmMib(server, this.UsmObjName);
                } catch (Exception ex) {
                    throw new Exception(
                      ERR_SNMP_CONNHANDLER_BAD_CONFIGURATION.get().toString());
                      ERR_SNMP_CONNHANDLER_BAD_CONFIGURATION.get());
                }
            }
@@ -246,7 +246,7 @@
            // Check if the snmpAdaptor is online
            if (this.snmpAdaptor.getState() != CommunicatorServer.ONLINE) {
                throw new Exception(
                      ERR_SNMP_CONNHANDLER_BAD_CONFIGURATION.get().toString());
                      ERR_SNMP_CONNHANDLER_BAD_CONFIGURATION.get());
            }
            // Check the trap destinations before trying to sent traps
@@ -282,7 +282,7 @@
        } catch (Exception ex) {
            throw new Exception(
                    ERR_SNMP_CONNHANDLER_BAD_CONFIGURATION.get().toString());
                    ERR_SNMP_CONNHANDLER_BAD_CONFIGURATION.get());
        }
    }