[SNMP4J] TreeUtils detecting issues with getSubtree results

Mackay, Scott scott.mackay at progeny.net
Tue Aug 3 01:17:32 CEST 2010


I had a question about detecting error conditions while performing a TreeUtils getSubtree() method.

Is there a standard result processing layout for detecting issues with the results?

Instead of hunting and pecking for each of the possible error codes, I was wondering if anyone has a template method which takes the getSubtree results and translates issues to exceptions or at least just have stub code with all the possible error conditions laid out.

-Scott



More information about the SNMP4J mailing list