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