Package org.opennms.mock.snmp.responder
Class Error
- java.lang.Object
-
- org.opennms.mock.snmp.responder.Error
-
- All Implemented Interfaces:
DynamicVariable
public class Error extends Object implements DynamicVariable
Throws an SNMP error with a status code matching the requested instance. See org.snmp4j.mp.SnmpConstants.SNMP_ERROR_* for known error codes.- Author:
- jwhite
-
-
Constructor Summary
Constructors Constructor Description Error()
-
-
-
Method Detail
-
getVariableForOID
public org.snmp4j.smi.Variable getVariableForOID(String oidStr) throws SnmpErrorStatusException
- Specified by:
getVariableForOID
in interfaceDynamicVariable
- Throws:
SnmpErrorStatusException
-
-