No subject
Thu May 4 07:32:04 CEST 2017
The problem is that I do not want to show the error as an SnmpTimeOut. I wan=
t to show the exact reason in my application. So I tried modifying the code=
and I threw a RunTimeException from the MessageDispatcherImpl after catchin=
g the IOException. Then I got the below log
Exception in thread "DefaultUDPTransportMapping_192.168.234.72/0" java.lang.=
RuntimeException: Length greater than 32bit are not supported for integers:=
at position 49
at org.snmp4j.MessageDispatcherImpl.processMessage(MessageDispatcherImpl.ja=
va:324)
at org.snmp4j.MessageDispatcherImpl.processMessage(MessageDispatcherImpl.ja=
va:276)
at org.snmp4j.transport.AbstractTransportMapping.fireProcessMessage(Abstrac=
tTransportMapping.java:81)
at org.snmp4j.transport.DefaultUdpTransportMapping$ListenThread.run(Default=
UdpTransportMapping.java:282)
My requirement is that if i get an IOException like above I want to throw th=
at exception and catch it in my code so that i can give a clearer message. I=
s it possible to do that? Can anyone of you help me out with this? Its reall=
y urgent.
Thanks a lot!!
Best regards
Shenaz
Please do not print this email unless it is absolutely necessary. =0A=
=0A=
The information contained in this electronic message and any attachments to=
this message are intended for the exclusive use of the addressee(s) and may=
contain proprietary, confidential or privileged information. If you are not=
the intended recipient, you should not disseminate, distribute or copy this=
e-mail. Please notify the sender immediately and destroy all copies of this=
message and any attachments. =0A=
=0A=
WARNING: Computer viruses can be transmitted via email. The recipient should=
check this email and any attachments for the presence of viruses. The compa=
ny accepts no liability for any damage caused by any virus transmitted by th=
is email. =0A=
=0A=
www.wipro.com
------_=_NextPart_001_01C961E0.EC5BAC58--
More information about the SNMP4J
mailing list