[SNMP4J] problem MOValueValidationListener

le goualher yannick yannick29 at gmail.com
Sun May 15 14:42:59 CEST 2011


HI,
 Im'a having one problem with MOValueValidationListener. The listener works
fine but I've trouble to compare the value with an other.
Let me explain with a sample code:

public void validate(MOValueValidationEvent validationEvent) {

         Variable newValue = validationEvent.getNewValue();

              if (newValue.toInt() <2 )
                {
                    System.out.println("succeed");
                 }

But i have an error which says:
   " General variable binding error"

thanks for your answers
-- 
<Yannick Le Goualher>
yannick29 at gmail.com
tel: 06 85 22 60 37



More information about the SNMP4J mailing list