Beispiel #1
0
 /// <summary>Constructor</summary>
 /// <param name="message">Exception message</param>
 /// <param name="status">ErrorStatus value</param>
 /// <param name="index">ErrorIndex value</param>
 public SnmpErrorStatusException(string message, EPduErrorStatus status, int index)
     : base(message)
 {
     errorStatus = status;
     errorIndex  = index;
 }
Beispiel #2
0
 /// <summary>Constructor</summary>
 public SnmpErrorStatusException()
     : base()
 {
     errorStatus = 0;
     errorIndex  = 0;
 }