Esempio n. 1
0
 public ProtoException(ProtoErrorCode error, string msg, params object[] args)
     : this(error, null, msg, args)
 {
 }
Esempio n. 2
0
 public ProtoException(ProtoErrorCode error)
     : this(error, (Exception)null, error.ToString())
 {
 }
Esempio n. 3
0
 public ProtoException(ProtoErrorCode error, Exception innerException, string msg, params object[] args)
     : base(CommonUtils.Format(msg, args), innerException)
 {
     this.ErrorCode = error;
 }