C# Class SnmpSharpNet.SnmpNetworkException

SNMP network exception
Exception thrown when network error was encountered. Network errors include host, network unreachable, connection refused, etc. One network exception that is not covered by this exception is request timeout.
Inheritance: SnmpException
显示文件 Open project: griffina/SnmpSharpNet

Public Methods

Method Description
SnmpNetworkException ( Exception sysException, string msg ) : System

Standard constructor

SnmpNetworkException ( string msg ) : System

Constructor. Used when system exception did not cause the error and there is no parent exception associated with the error.

Method Details

SnmpNetworkException() public method

Standard constructor
public SnmpNetworkException ( Exception sysException, string msg ) : System
sysException System.Exception System exception that caused the error
msg string Error message
return System

SnmpNetworkException() public method

Constructor. Used when system exception did not cause the error and there is no parent exception associated with the error.
public SnmpNetworkException ( string msg ) : System
msg string Error message
return System