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